Which of these sets of amounts covers all equivalence classes?

A money order system is designed to calculate the charge for a transfer

– Amounts from 1 to 1999 are charged EUR 10.

– Amounts from 2000 to 5000 are charged EUR 15

– Amounts below EUR 1 or above EUR 5000 are not accepted.

Assume that only integer values can occur.

Which of these sets of amounts covers all equivalence classes?
A . 0-1999-2000-5000
B . 1-2000-5001-10000
C . 0-100-2000-6000
D . 99-1- 2000- 4999,99

Answer: C

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments