BCS-ISEB
BH0-010 · Question #38
The flow graph below shows the logic of a program for which 100% statement coverage and 100% decision coverage is required on exit from component testing. The following test case has been run: Test…
The correct answer is A. Test Case 2 covering path A, C, D, E, F, E, G. See the full explanation below for the reasoning.
Question
The flow graph below shows the logic of a program for which 100% statement coverage and 100% decision coverage is required on exit from component testing. The following test case has been run:
Test Case 1 covering path A, B, D, G Which of the following ADDITIONAL test cases would need to be written to provide the required coverage?
Options
- ATest Case 2 covering path A, C, D, E, F, E, G
- BTest Case 3 covering path A, B, D, E, G
- CTest Case 4 covering path A, C, D, E,G
- DTest Case 5 covering path A, C, D, G
How the community answered
(25 responses)- A72% (18)
- B8% (2)
- C16% (4)
- D4% (1)
Community Discussion
No community discussion yet for this question.