Istqb Certified Tester Foundation Level CTFL · Free Practice Question Medium
Question 36
A programmer validates a numeric field as follows: Values less than 10 are rejected, values between 10 and 21 are accepted, values greater than or equal to 22 are rejected.
Which of the following input values cover all of the equivalence partitions?
-
A
10,11,12
-
B
3,20,21
-
C
3,10,22
-
D
10,21,22
Reveal correct answer
Correct answer: C
Explanation
The three partitions are:
-Less than 10
-10 to 21
-More than 21
We should test one value per partition
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
You must be logged in to post a comment.
