ISTQB
CTFL18 · Question #535
Considering the following pseudo-code, calculate the MINIMUM number of test cases required to achieve 100% statement coverage and 100% decision coverage.
The correct answer is A. Statement coverage: 4. Decision coverage: 5. See the full explanation below for the reasoning.
Question
Considering the following pseudo-code, calculate the MINIMUM number of test cases required to achieve 100% statement coverage and 100% decision coverage.
Exhibit
Options
- AStatement coverage: 4. Decision coverage: 5
- BStatement coverage: 3. Decision coverage: 4
- CStatement coverage: 4. Decision coverage: 4
- DStatement coverage: 4. Decision coverage: 3
How the community answered
(52 responses)- A81% (42)
- B6% (3)
- C2% (1)
- D12% (6)
Community Discussion
No community discussion yet for this question.
