Which of the following statements related to coverage is correct?

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 cases have been run:
– Test Case 1 covering path A, B, D, G
– Test Case 2 covering path A, B, D, E, F, E, F, E, F, E, G
– Test Case 3 covering path A, C, D, E, F, E, G
Which of the following statements related to coverage is correct?
A. Statement coverage is 100%; decision coverage is 100%.
B. Statement coverage is less than 100%; decision coverage is 100%.B.Statement coverage is less than 100%; decision coverage is 100%.
C. Statement coverage is 100%; decision coverage is less than 100%.C.Statement coverage is 100%; decision coverage is less than 100%.
D. Statement coverage and decision coverage are both less than 100%.D.Statement coverage and decision coverage are both less than 100%.

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.