ExamGecko
Question list
Search
Search

Related questions











Question 31 - CTFL-2018 discussion

Report
Export

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? [K3]

Refer to the exhibit

A.
S2 and O4
Answers
A.
S2 and O4
B.
S4 and O2
Answers
B.
S4 and O2
C.
S4 and O4
Answers
C.
S4 and O4
D.
S2 and O2
Answers
D.
S2 and O2
Suggested answer: D

Explanation:

S2 and O2 are the finishing state and the output(s) from the test case1. The question asks about a test case that starts at S1 and triggers 4 events in sequence: E1, E4, E5, E7. The question refers to a state diagram that shows the logic of a system with six states (S1, S2, S3, S4, S5, S6) and seven events (E1, E2, E3, E4, E5, E6, E7). The state diagram also shows four outputs (O1, O2, O3, O4) that are produced by some events. The state diagram is shown below:

!state diagram

To answer this question, we need to follow the path of the test case on the state diagram and observe the state transitions and outputs that occur. The path of the test case is:

Start at S1

Trigger E1

Transition to S2

Trigger E4

Transition to S3

Trigger E5

Transition to S2

Output O2

Trigger E7

Transition to S6

Therefore, the finishing state of the test case is S2 and the output(s) from the test case is O2. Hence, D is the correct answer.

Topic 3, Exam Pool C

asked 18/09/2024
Charalambos Stavrou
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first