Given the following code, which is true:
IF A > B THEN C =

Loading

Choose the correct option.

Given the following code, which is true:

IF A > B THEN C = A – B

ELSE

C = A + B ENDIF Read D

IF C = D Then Print "Error" ENDIF

A. 1 test for statement coverage, 3 for branch coverage
B. 2 tests for statement coverage, 2 for branch coverage
C. 2 tests for statement coverage. 3 for branch coverage
D. 3 tests for statement coverage, 3 for branch coverage

Leave a Comment