QuestionQ54

VerifiedWhite-Box Test Techniques

Given this decision:

IF X<5 OR Y>10 THEN -

Which set of test inputs achieves full MC/DC coverage?

Explanation

For an OR decision, MC/DC requires demonstrating that each atomic condition can independently determine the outcome while the other condition is false. Using X=4, Y=7 and X=5, Y=10 isolates the effect of X<5; using X=6, Y=12 and X=5, Y=10 isolates the effect of Y>10.

Community Discussion

No comments yet. Be the first to start the discussion!