ISTQB Certified Tester Advanced Level – Test Analyst (CTAL-TA) — Question 28

Consider the following scenario for a metro fare system:

If you take the metro before 9:30 am or in the afternoon between 5:00 pm until 7:00 pm, you must pay full fare. A saver ticket is available for metro rides between 9:30 am and 5:00 pm [both inclusive], and after 7:00 pm.

Which of the following test sets will provide the best equivalence partitioning coverage? (Choose all that apply.)

Answer options

Correct answer: C

Explanation

Option C is correct because it includes times that capture all important fare boundaries: before 9:30 am, during saver hours, and after 7:00 pm. The other options either miss key timeframes or do not provide sufficient coverage of the equivalence classes defined by the fare rules.