Make Learning Stick

Reflective Learning

Question

ur SME has told you that the valid values for Student Status are Freshman, Sophomore, Junior, and Senior.

Using equivalence partitioning theory, which of the following is the smallest acceptable set of test values for Student Status?

  1. Graduate
  2. Honors, Sophomore
  3. Graduate, Freshman, Senior
  4. Honors, Freshman, Senior, 918

You Answered: D
Correct Answer: B

Since this data attribute references a set of values, there are two equivalence classes — one valid equivalence class (any member of the set) and one invalid equivalence class (anything that is not a member of a set). Option A does not provide a test value for the valid equivalence class. Options C and D are acceptable, but they specify more test values than required.