CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 78: CTFL-V4-0: Certified Tester Foundation Level (CTFL) v4.0

You validate the correctness of price calculation in a food ordering application. The input parameter is the order amount (in $), and the result is the final price reflecting the discount. If the order amount is less than $100, the discount is not granted (0% discount). If the order amount is greater than $500, a 50%…

Nội dung câu hỏi

You validate the correctness of price calculation in a food ordering application. The input parameter is the order amount (in $), and the result is the final price reflecting the discount. If the order amount is less than $100, the discount is not granted (0% discount). If the order amount is greater than $500, a 50% discount is granted. In other cases, the 10% discount is granted. You apply equivalence partitioning for the “order amount” domain to check if discounts are granted correctly. Which test data set achieves the highest 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.

  1. A. 100.01, 499.99, 500.01
  2. B. 50.99, 500, 500.10 — đáp án hiện tại
  3. C. 99.99, 100, 500
  4. D. 0, 10, 50

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.

Câu hỏi liền kề