How many test cases are necessary to cover all the possible sequences of statements (paths) for the following program fragment?

How many test cases are necessary to cover all the possible sequences of statements (paths) for the following program fragment?
Assume that the two conditions are independent of each other : -if (Condition 1)then statement 1else statement 2if (Condition 2)then statement 3
A. 2 Test Cases
B. 3 Test Cases
C. 4 Test Cases
D. Not achievable

Download Printable PDF. VALID exam to help you PASS.

One thought on “How many test cases are necessary to cover all the possible sequences of statements (paths) for the following program fragment?

Leave a Reply

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


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