Multiple choice technology testing

One of the fields on a form contains a text box which accepts numeric values in the range of 18 to 25. Identify the invalid Equivalence class

  1. 17

  2. 19

  3. 24

  4. 21

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

For a valid range of 18-25, the equivalence classes are: valid (18-25), invalid below (less than 18), and invalid above (greater than 25). Option A (17) is invalid because it's below the minimum valid value of 18. Options B (19), C (24), and D (21) are all valid values within the accepted range.

AI explanation

To answer this question, you need to understand the concept of equivalence classes.

Equivalence classes refer to a set of input values that are considered equivalent or produce the same result. In this case, the valid equivalence class for the numeric values in the text box is between 18 and 25.

Let's go through each option to determine which one is an invalid equivalence class:

Option A) 17 - This option is invalid because it falls outside the specified range of 18 to 25.

Option B) 19 - This option is valid because it falls within the specified range of 18 to 25.

Option C) 24 - This option is valid because it falls within the specified range of 18 to 25.

Option D) 21 - This option is valid because it falls within the specified range of 18 to 25.

Therefore, the invalid equivalence class is option A) 17 because it is outside the range of 18 to 25.