How many minimum test cases are required to cover 100% Statement coverage and Decision coverage?

How many minimum test cases are required to cover 100% Statement coverage and Decision coverage?
Consider the following pseudo-code
If (Walking && Midnight)
If (Raining)
Take umbrella and search light
Else
Take searchlight
End IF
Else if (Running && Sunshine)
IF (Raining)
Take umbrella
End IF
Else keep doing what you were doing End IF
A. 5 for Statement, 5 for Decision
B. 4 for Statement, 5 for Decision
C. 8 for Statement, 6 for Decision
D. 6 for Statement, 8 for Decision

Download Printable PDF. VALID exam to help you PASS.

4 thoughts on “How many minimum test cases are required to cover 100% Statement coverage and Decision coverage?

Leave a Reply

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


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