Istqb Certified Tester Foundation Level CTFL · Free Practice Question Medium

Question 11

For the following State Transition Diagram, These test cases were executed:

i. S1 > S2 > S3 > S4

ii. S1 > S4 > S5 > S6

iii. S1 > S4 > S5 > S3 > S4

iv. S1 > S4 > S2 > S3 > S4


Which of the following statements is TRUE?

  • A

    i and iii achieve 100% all states coverage while ii and iv achieve 66.6% valid transitions coverage.

  • B

    i and iv achieve 100% valid transitions coverage while ii and iii achieve 100% all transitions coverage.

  • C

    i and ii achieve 100% all states coverage while iii and iv achieve 75% valid transitions coverage.

  • D

    i and ii achieve 100% all transitions coverage while iii and iv achieve 33.3% all states coverage.

Reveal correct answer

Correct answer: C

Explanation

The system includes 7 states, all of them are covered in the first two test cases. It also includes 8 transitions, if you trace test cases iii and iv, you will find that they cover different 6 transitions, so valid transitions coverage is 6/8 which is 75%

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need