ExamGecko
Question list
Search
Search

Related questions











Question 331 - CTFL-2018 discussion

Report
Export

ISTQBw Certified Tester Foundation Level (Syllabus 2018. English) provided by iSOl GmbH, international Software Quality Institute Question 25 of 40 | Level: K3 | Number of correct answers: 1 I Credits: 1 Given the following stale model of sales order software:

Which of the following sequences of transitions provides the highest level of transition coverage for the model (assuming you can start in any state)?

A.
PLACED --> CANCELLED ~> PLACED -> CANCELLED --> PLACED --> IN PRODUCTION --> CANCELLED
Answers
A.
PLACED --> CANCELLED ~> PLACED -> CANCELLED --> PLACED --> IN PRODUCTION --> CANCELLED
B.
PLACED --> IN PRODUCTION --> SHIPPED --> CANCELLED --> PLACED
Answers
B.
PLACED --> IN PRODUCTION --> SHIPPED --> CANCELLED --> PLACED
C.
IN PRODUCTION -> SHIPPED -> INVOICED -> CANCELLED -> PLACED -> IN PRODUCTION
Answers
C.
IN PRODUCTION -> SHIPPED -> INVOICED -> CANCELLED -> PLACED -> IN PRODUCTION
D.
IN PRODUCTION -> CANCELLED -> PLACED --> IN PRODUCTION -> CANCELLED --> PLACED
Answers
D.
IN PRODUCTION -> CANCELLED -> PLACED --> IN PRODUCTION -> CANCELLED --> PLACED
Suggested answer: C

Explanation:

it provides the highest level of transition coverage for the model.Transition coverage is a white-box test technique that focuses on the percentage of transitions that have been exercised by a test suite1. In this case, the model is a state transition diagram that shows the possible states and transitions of a sales order software. The diagram has five states: PLACED, IN PRODUCTION, SHIPPED, INVOICED, and CANCELLED. The diagram has nine transitions: PLACED to IN PRODUCTION, PLACED to CANCELLED, IN PRODUCTION to SHIPPED, IN PRODUCTION to CANCELLED, SHIPPED to INVOICED, SHIPPED to CANCELLED, INVOICED to CANCELLED, CANCELLED to PLACED, and CANCELLED to IN PRODUCTION. Option C covers all nine transitions in the following sequence:

IN PRODUCTION -> SHIPPED

SHIPPED -> INVOICED

INVOICED -> CANCELLED

CANCELLED -> PLACED

PLACED -> IN PRODUCTION

Option A covers only six transitions in the following sequence:

PLACED -> CANCELLED

CANCELLED -> PLACED

PLACED -> IN PRODUCTION

IN PRODUCTION -> CANCELLED

Option B covers only five transitions in the following sequence:

PLACED -> IN PRODUCTION

IN PRODUCTION -> SHIPPED

SHIPPED -> CANCELLED

CANCELLED -> PLACED

Option D covers only four transitions in the following sequence:

IN PRODUCTION -> CANCELLED

CANCELLED -> PLACED

PLACED -> IN PRODUCTION

Therefore, option C is the correct answer.Options A, B, and D are incorrect, as they do not cover all the transitions in the model.

Reference:1, Section 4.2.2

asked 18/09/2024
Nathan Davies
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first