Software
CABA · Question #256
A program 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…
The correct answer is B. 9, 10, 21, 22. See the full explanation below for the reasoning.
Question
A program 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 covers the MOST boundary values?
Options
- A9, 10, 11, 22
- B9, 10, 21, 22
- C10, 11, 21, 22
- D10, 11, 20, 21
How the community answered
(18 responses)- A17% (3)
- B72% (13)
- C6% (1)
- D6% (1)
Community Discussion
No community discussion yet for this question.