Exam CTFL All QuestionsBrowse all questions from this exam
Question 73

A test case starts at S1 and triggers 4 events in sequence: E1, E4, E5, E7. What will be the finishing state and the output(s) from the test case?

Refer to the exhibit -

    Correct Answer: D

    To determine the finishing state and output from the test case, let's follow the sequence of events step by step starting from S1. The events are E1, E4, E5, and E7. From S1, E1 leads to S2. From S2, E4 leads to S3 with output O2. From S3, E5 leads to S4. Finally, from S4, E7 leads to S2. Hence, the final state is S2 and the outputs are those generated during the transitions: O2. Therefore, the correct answer is S2 and O2.

Discussion
WizoOption: D

To understand this answer be aware that the arrow between S4 and S2 is exit from S4 to S2 this mean that the finish state is S2 and the output is 02 🙋‍♂️

subwaysandwichOption: D

Ans: D. As what Wizo said, the last step (E7) is unable to run because it goes from S4 to S2. However, the current state after E5 is at S2, hence E7 never runs and O4 never outputs. The last output to be generated is O2 during step E4.

Mrlee1251762

where is 02 coming from?