CTFL-2018 Exam QuestionsBrowse all questions from this exam

CTFL-2018 Exam - Question 25


Given the following state transition diagram where SS is the start state:

Which of the following answers describes a test case that only uses valid transitions to exercise all states, using the minimum number of transitions?

Show Answer
Correct Answer: D

To exercise all states, we start at SS and follow the transitions SS-S1, S1-S3, and S3-S2. This sequence of transitions ensures that every state (SS, S1, S3, and S2) is visited using the minimum possible number of transitions, which is three. Therefore, the correct answer is D, as it covers all the states with the minimum number of transitions.

Discussion

1 comment
Sign in to comment
greatazOption: A
Oct 18, 2022

i think it should be 'a' because there are 5 valid transitions.

rolandp
Mar 13, 2023

but you have to find 'the minimum number of transitions' -> Answer D