ExamGecko
Question list
Search
Search

Related questions











Question 112 - CTFL-2018 discussion

Report
Export

Refer to the exhibit

Given the following State Transition diagram, match the test cases below with the relevant set of state transitions.

(i) X-Z-V-W

(ii) W-Y-U-U

A.
(i) = S1 -- S2 -- S3 -- S4 -- S2 and (ii) = S4 -- S2 -- S4 -- S4 -- S4
Answers
A.
(i) = S1 -- S2 -- S3 -- S4 -- S2 and (ii) = S4 -- S2 -- S4 -- S4 -- S4
B.
(i) = S1 -- S2 -- S3 -- S4 -- S4 and (ii) = S2 --S4 -- S4 -- S4 -- S2
Answers
B.
(i) = S1 -- S2 -- S3 -- S4 -- S4 and (ii) = S2 --S4 -- S4 -- S4 -- S2
C.
(i) = S2 -- S3 -- S4 -- S2 -- S2 and (ii) = S4 -- S2 -- S4 -- S4 -- S4
Answers
C.
(i) = S2 -- S3 -- S4 -- S2 -- S2 and (ii) = S4 -- S2 -- S4 -- S4 -- S4
D.
(i) = S2 -- S3 -- S4 - S4 -- S2 and (ii) = S2 --S3 -- S4 --S4 -- S4
Answers
D.
(i) = S2 -- S3 -- S4 - S4 -- S2 and (ii) = S2 --S3 -- S4 --S4 -- S4
Suggested answer: A

Explanation:

State transition testing is a technique that uses state transition diagrams as a test basis to derive test cases2.A state transition diagram shows the states of a system and the transitions between them triggered by events or conditions2.A test case can cover one or more state transitions, depending on the test objective and coverage criterion2. In this question, the test cases (i) and (ii) cover different sets of state transitions, as shown below:

Test Case

State Transitions

(i) X-Z-V-W

S1 -- S2 -- S3 -- S4 -- S2

(ii) W-Y-U-U

S4 -- S2 -- S4 -- S4 -- S4

asked 18/09/2024
Orry Meijer
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first