Deal of The Day! 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 Certified Tester Advanced Level Technical Test Analyst exam
Question #: 3
Topic #: 1
[All Certified Tester Advanced Level Technical Test Analyst 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:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel