ISTQB
CTFL18 · Question #364
The following program part is given: IF (condition A) then DO B END IF How many test cases are necessary in order to achieve 100% statement coverage?
The correct answer is B. 2. See the full explanation below for the reasoning.
Question
The following program part is given:
IF (condition A) then DO B END IF How many test cases are necessary in order to achieve 100% statement coverage?
Options
- A1
- B2
- C4
- Da very high number
How the community answered
(27 responses)- A4% (1)
- B74% (20)
- C15% (4)
- D7% (2)
Community Discussion
No community discussion yet for this question.