Practice Test Geeks home

ISTQB - International Software Testing Qualifications Board White-Box Test Design Questions and Answers

A developer has written the following pseudocode.
What is the MINIMUM number of test cases required to achieve 100% statement coverage?

READ A

READ B

IF A > B THEN

PRINT A

ELSE

PRINT B

ENDIF

Select your answer