Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

ISTQB Exam CTAL-TTA Topic 1 Question 3 Discussion

Actual exam question for ISTQB's CTAL-TTA exam
Question #: 3
Topic #: 1
[All CTAL-TTA Questions]

Consider the code fragment provided below:

How many test cases are needed for the code fragment lines 26 - 37 to achieve 100% modified condition/decision coverage?

Show Suggested Answer Hide Answer
Suggested Answer: B

Modified condition/decision coverage (MC/DC) requires each condition in a decision to be shown to independently affect the decision's outcome. For the code fragment provided, we have three independent conditions that need to be evaluated both as true and false. The minimum number of test cases needed to satisfy MC/DC for three conditions is four, which would allow each condition to be shown to independently affect the outcome of the decision.


Contribute your Thoughts:

Azzie
6 months ago
I see, that makes sense. I change my answer to C) 6 test cases then.
upvoted 0 times
...
Gladis
6 months ago
I also think it's 6 test cases because each condition needs to be met in at least one test case.
upvoted 0 times
...
Dorethea
7 months ago
Can you explain your rationale for choosing 6 test cases?
upvoted 0 times
...
Azzie
7 months ago
I disagree, I believe the answer is C) 6 test cases.
upvoted 0 times
...
Dorethea
7 months ago
I think the answer is B) 4 test cases.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77