CTAL-TTA practice question 23 of 25

Given the following decision: IF X < 5 OR Y > 10 THEN Which of the following sets of test inputs will achieve full MC/DC coverage?

Full set: 174 questions
Answer options
A: X=4 and Y=7 X=6 and Y=12 X=5 and Y=10 Correct answer
B: X=4 and Y=11 X=7 and Y=10
C: X=5 and Y=8 X=2 and Y=12 X=4 and Y=4
D: X=3 and Y=10 X=5 and Y=15 X=0 and Y=15
Correct Answer:
A. X=4 and Y=7 X=6 and Y=12 X=5 and Y=10
Explanation

Modified Condition/Decision Coverage (MC/DC) requires that each condition in a decision independently affects the decision's outcome. For the decision A OR B (where A is X 10), we need three test cases: one where A is True and B is False (Decision is True), one where A is False and B is True (Decision is True), and one where both A and B are False (Decision is False). Option A provides exactly these combinations: (T, F), (F, T), and (F, F).

Why Incorrect

B: Only provides two test cases, which is insufficient for MC/DC of a two-condition decision (requires N+1 = 3 test cases). C: Missing the test case where A is False and B is True (X >= 5 and Y > 10). D: Missing the test case where both A and B are False (X >= 5 and Y <= 10).

References

1. ISTQB Certified Tester Advanced Level Syllabus - Technical Test Analyst (v4.0), Section 2.2.3 Modified Condition/Decision Coverage (MC/DC).

Scroll to Top