SWT301Xuất hiện trong 2 đề thi
You have designed test cases to provide 100% statement and 100% decision coverage for the following fragment of code.\nif width > length then biggest_dimension = width\nelse biggest_dimension = length\nend_if\nThe following has been added to the bottom of the code fragment above.\nprint "Biggest dimension is " & biggest_dimension\nprint "Width: " & width\nprint "Length: " & length\nHow many more test cases are required?
Các lựa chọn
AOne more test case will be required for 100% decision coverage.
BTwo more test cases will be required for 100% statement coverage, one of which will be used to provide 100% decision coverage.
CNone, existing test cases can be used.
DOne more test case will be required for 100% statement coverage.