Câu 19: CTFL: 001_ISTQB Certified Tester Foundation Level (CTFL_001)
Consider the following pseudo code:1. Begin2. Input X, Y3. If X > Y4. __Print (X, is greater than, Y)5. Else6. __Print (Y, is greater than or equal to, X)7. EndIf8. EndWhat is the minimum number of test cases required to guarantee both 100% statement coverage and 100% decision coverage?
Nội dung câu hỏi
Consider the following pseudo code:1. Begin2. Input X, Y3. If X > Y4. __Print (X, is greater than, Y)5. Else6. __Print (Y, is greater than or equal to, X)7. EndIf8. EndWhat is the minimum number of test cases required to guarantee both 100% statement coverage and 100% decision coverage?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. Statement coverage = 3, Decision coverage = 3
- B. Statement coverage = 2, Decision coverage = 2 — đáp án hiện tại
- C. Statement coverage = 1, Decision coverage = 2
- D. Statement coverage = 2, Decision coverage = 1
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.