SWT301Xuất hiện trong 1 đề thi
Considering the code provided, which is true about the minimal quantity of test cases necessary for complete statement and branch/decision coverage? \nRead A\nRead B\nIF A+B > 50 THEN\nPrint "Sum two age"\nENDIF\nIF B > 20 THEN\nPrint "B is of adult age"\nENDIF
Các lựa chọn
A1 test for statement coverage, 3 for branch coverage
B1 test for statement coverage, 1 for branch coverage
C1 test for statement coverage, 2 for branch coverage
D2 tests for statement coverage, 2 for branch coverage