ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 7 - CTFL4 discussion

Report
Export

Which of the following coverage criteria results in the highest coverage for state transition based test cases?

A.
Can't be determined
Answers
A.
Can't be determined
B.
Covering all transitions at least once
Answers
B.
Covering all transitions at least once
C.
Covering only start and end states
Answers
C.
Covering only start and end states
D.
Covering all states at least once
Answers
D.
Covering all states at least once
Suggested answer: B

Explanation:

Covering all transitions at least once is the highest coverage criterion for state transition based test cases, because it ensures that every possible change of state is tested at least once. This means that all the events that trigger the transitions, as well as the actions and outputs that result from the transitions, are verified. Covering all transitions at least once also implies covering all states at least once, but not vice versa. Therefore, option D is not the highest coverage criterion. Option C is the lowest coverage criterion, because it only tests the initial and final states of the system or component, without checking the intermediate states or transitions. Option A is incorrect, because the coverage criteria for state transition based test cases can be determined and compared based on the number of transitions and states covered.Reference= CTFL 4.0 Syllabus, Section 4.2.3, page 49-50.

asked 18/09/2024
Raed Alshehri
50 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first