SWT301_-_SU_2024_-_RE_2481.webp
H

SWT301_-_SU_2024_-_RE_2481.webp

(Choose 1 answer)
You have designed test cases to provide 100% statement and 100% decision coverage for the following fragment of code.
if width > length then biggest_dimension = width else biggest_dimension = length end if
The following has been added to the bottom of the code fragment above.
print "Biggest dimension is " & biggest_dimension
print "Width: " & width
print "Length: " & length
How many more test cases are required?
A. One more test case will be required for 100% decision coverage.
B. Two more test cases will be required for 100% statement coverage, one of which will be used to provide 100% decision coverage.
C. None, existing test cases can be used.
D. One more test case will be required for 100" statement coverage.

Thông tin

Category
SWT301
Thêm bởi
Hoàng Anh1
Ngày thêm
Lượt xem
3,316
Lượt bình luận
33
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
SWT301_-_SU_2024_-_RE_2481.webp
File size
270.7 KB
Dimensions
1920px x 1012px

Share this media

Back
Bên trên Bottom