#7Multiple Choice

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?

Previous
Question 7 of 154
Exam CTFL Topic 1 Question 7
Back to all questions
Next