ISTQB
CTFL18 · Question #189
CTFL18 Question #189: Real Exam Question with Answer & Explanation
The correct answer is A. 2 Test Cases. See the full explanation below for the reasoning.
Question
How many test cases are necessary to cover all the possible sequences of statements (paths) for the following program fragment? Assume that the two conditions are independent of each other : -if (Condition 1)then statement 1else statement 2if (Condition 2)then statement 3
Options
- A2 Test Cases
- B3 Test Cases
- C4 Test Cases
- DNot achievable
Community Discussion
No community discussion yet for this question.