ISTQB Certified Tester Foundation Level (CTFL 2018) — Question 25
A car insurance policy has 3 rates of insurance depending on the age of the driver. For drivers aged between 17 and 25 inclusive they are charged at rate A, drivers aged between 26 and 50 inclusive are charged at rate B and those drivers aged over 50 are charged at rate C.
You are designing test cases, which of the following three ages would test all valid equivalence partitions and therefore test rate A, B and C?
Answer options
- A. 26, 45, 50.
- B. 10, 21, 55.
- C. 20, 35, 65.
- D. 17, 25, 50.
Correct answer: C
Explanation
Option C is the correct answer because it includes ages from all three categories: 20 for rate A, 35 for rate B, and 65 for rate C. The other options either miss an age group or do not cover all three categories effectively, making them insufficient for testing all equivalence partitions.