- One of the fields on a form contains a text box which accepts alpha numeric values. Identify the Valid Equivalence class
Reveal answer
Fill a bubble to check yourself
a) BOOK
b) Book
c) Boo01k
d) book
The term 'alpha numeric' means containing both letters AND numbers. While all options contain letters, only option C (Boo01k) also includes digits, making it the only true alphanumeric value. Options A, B, and D contain only alphabetic characters, placing them in a different equivalence class.
'Boo01k' is the valid equivalence class representative for a field accepting alphanumeric values, because it actually contains both letters and digits, exercising the 'alphanumeric' requirement. 'BOOK', 'Book', and 'book' are all purely alphabetic strings — while technically a subset of alphanumeric input, they don't test the numeric-character-acceptance aspect of the field, so they aren't the best representative of the valid alphanumeric equivalence class the question is probing for.