iSQI ISTQB Certified Tester Foundation Level (Syllabus 2018) CTFL_Syll2018 Question # 20 Topic 3 Discussion

iSQI ISTQB Certified Tester Foundation Level (Syllabus 2018) CTFL_Syll2018 Question # 20 Topic 3 Discussion

CTFL_Syll2018 Exam Topic 3 Question 20 Discussion:
Question #: 20
Topic #: 3

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


Get Premium CTFL_Syll2018 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.