How many test cases are needed to achieve 100 per cent decision coverage?

Consider the following pseudo code
1. Begin
2. Read Gender
3. __Print "Dear"
4. If Gender = ‘female’
5. Print ("Ms")
6. Else
7. __Print ( "Mr")
8. Endif
9. End
How many test cases are needed to achieve 100 per cent decision coverage?
A. 1
B. 2
C. 3
D. 4

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.