ISTQB
CTFL18 · Question #508
You have to specify test cases based on equivalence partitioning and boundary value analysis for an internet shop selling baby shoes. The shop provides a selection of shoes based on the following…
The correct answer is D. All valid equivalence classes could be covered with 6 test cases. See the full explanation below for the reasoning.
Question
You have to specify test cases based on equivalence partitioning and boundary value analysis for an internet shop selling baby shoes. The shop provides a selection of shoes based on the following input parameters: -There are 4 different sizes, depending on the age of the baby. The system selects the appropriate size based on the following criteria: 1. 0 < age <= 4 months: size 1 2. 4 < age <= 8 months: size 2 3. 8 < age <= 15 months: size 3 4. 15 < age <= 24 months: size 4 -The gender of the baby: boy or girl Which of the following statements is true?
Options
- AThe total number of combinations of valid equivalence classes of age and gender is 8.
- BThere are two invalid equivalence classes for the age input parameter: age <= 0, and age > 25
- CAll combinations of valid equivalence classes could be covered with 4 test cases.
- DAll valid equivalence classes could be covered with 6 test cases.
How the community answered
(28 responses)- A7% (2)
- B11% (3)
- C4% (1)
- D79% (22)
Community Discussion
No community discussion yet for this question.