Summer Certification Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Exam CTFL-Foundation All Questions
Exam CTFL-Foundation All Questions

View all questions & answers for the CTFL-Foundation exam

ISTQB Foundation Level CTFL-Foundation Question # 49 Topic 6 Discussion

CTFL-Foundation Exam Topic 6 Question 49 Discussion:
Question #: 49
Topic #: 6

Consider the following pseudo code:

1 Begin

2 Read Time

3 If Time < 12 Then

4 Print(Time, "am")

5 Endif

6 If Time > 12 Then

7 Print(Time −12, "pm")

8 Endif

9 If Time = 12 Then

10 Print (Time, "noon")

11 Endif

12 End

If the test cases Time = 11 and Time = 15 were input, what level of decision coverage would be achieved?


A.

100% or 6/6


B.

50% or 3/6


C.

67% or 4/6


D.

83% or 5/6


Get Premium CTFL-Foundation 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.