Multiple choice technology testing

The valid inputs for field on a web site form are character strings from 5 through 25 characters in length. Test cases to perform boundary testing on this input would include valid character strings of:

  1. 0, 10, and 30 characters in length.

  2. 4, 5, 25 and 26 characters in length.

  3. 5, 6, 24 and 25 characters in length.

  4. from 5 to 25 characters inclusively.

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

Boundary testing requires testing at the exact boundaries (4, 5, 25, 26) to verify correct handling of minimum, maximum, and just-outside-bounds values. Option C only tests within valid range (5, 6, 24, 25) and misses the critical boundary failure cases, while Option A includes arbitrary values.