Given the following specification, which of the following values for age are in the SAME equivalence partition?

If you are less than 18, you are too young to be insured.
Between 18 and 30 inclusive, you will receive a 20% discount.
Anyone over 30 is not eligible for a discount.

Options
- 17, 18, 19
- 29, 30, 31
- 18, 29, 30
- 17, 29, 31


CORRECT ANSWER : 18, 29, 30

Discussion Board
Software testing

Answer: 18, 29, 30
Solution: In this example below 18 and greater than 30 values are not included for discount. Age between18 to 30 are capable of receiving discount so that’s why 18 to 30 values are valid partition.
Therefore, 18, 29, 30 is the correct answer.


Rohit Srivastava 07-23-2014 02:13 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement