BCS-ISEB
ISEB-SWT2 · Question #37
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, GC.Test Case 4 covering path A, C, D, E, G
- DTest Case 5 covering path A, C, D, G D.Test Case 5 covering path A, C, D, G
How the community answered
(25 responses)- A76% (19)
- B4% (1)
- C4% (1)
- D16% (4)
Community Discussion
No community discussion yet for this question.