Exam4Training

How many test cases are necessary in order to achieve 100% statement coverage?

The following program part is given:

IF (condition A)

then DO B

END IF

How many test cases are necessary in order to achieve 100% statement coverage?
A . 1
B . 2
C . 4
D . a very high number

Answer: B

Exit mobile version