Exam CTFL-2018 All QuestionsBrowse all questions from this exam
Question 21

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?

    Correct Answer: D

    To test all valid equivalence partitions for the given car insurance rates, we need one age from each rate category: rate A (17-25), rate B (26-50), and rate C (over 50). The chosen ages should directly correspond to the given age ranges. Option D provides the ages 17, 25, and 50, which correctly represent the lower and upper bounds of rates A and B, and just at the boundary of rate C. This ensures that the test cases cover all specified rates accurately.

Discussion
bhuppiiOption: C

C is correct

Jay15Option: C

C is correct