ExamGecko
Question list
Search
Search

Related questions











Question 294 - CTFL-2018 discussion

Report
Export

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?

A.
SS-S3-SS-S1-S3-S2.
Answers
A.
SS-S3-SS-S1-S3-S2.
B.
SS-S3-S2-S1.
Answers
B.
SS-S3-S2-S1.
C.
SS-S1-S2-S3.
Answers
C.
SS-S1-S2-S3.
D.
SS-S1-S3-S2.
Answers
D.
SS-S1-S3-S2.
Suggested answer: D

Explanation:

According to the syllabus, state transition testing is a technique that tests the behaviour of a system or component based on its transitions between states. A state transition diagram is a graphical representation of the states and transitions of a system or component. A test case that uses valid transitions to exercise all states should cover all the nodes and edges in the diagram. The answer D is correct because it covers all the four states (SS, S1, S2, S3) and all the five transitions (SS-S1, S1-S3, S3-S2, S2-SS, SS-S3) in the diagram. The other answers are incorrect because they either miss some states or transitions or use more transitions than necessary.

asked 18/09/2024
Pay Ametovski
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first