Question: Inspect the following statements for the given code, explain whether they are correct or not. IF A > B THEN C = A B ELSE
- Inspect the following statements for the given code, explain whether they are correct or not.
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, 2 for branch Coverage
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
