Which of the following is the appropriate set of test cases ,(A,B) when the part of a program shown is tested by decision condition coverage (branch coverage)?
if (A OR B)X=X+1;
else X=X-1;

A {False,True)}

B {(False,True),(*True,False),(True,True)}

C {(False,True),(True, False)}

D {(False,Flase),(True,True)

Solution

Correct Answer: Option C

Practice More Questions on Our App!

Download our app for free and access thousands of MCQ questions with detailed solutions