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?
Select one answer.
AI Answer Explanation & Exam Tips
Instant breakdown of key concepts, distractor analysis, and quick exam memory tricks.
Purchase Full Access to view answer options & explanation
The first 73 questions in this bank are completely free. Unlock Full Access on the exam page to view all answer choices, verified answers, explanations, and community discussions for all 241 questions.