Bird
0
0

A tester wrote test inputs for a range 0 to 10 as: -1, 0, 1, 9, 10, 11. The test fails for input 11. What is the likely cause?

medium📝 Debug Q7 of 15
Testing Fundamentals - Functional Testing Techniques
A tester wrote test inputs for a range 0 to 10 as: -1, 0, 1, 9, 10, 11. The test fails for input 11. What is the likely cause?
AInput 11 is a valid input but test code has a bug
BInput 11 is a boundary value and must pass
CInput 11 is inside the range and test case is wrong
DInput 11 is outside the valid range; failure indicates correct error handling
Step-by-Step Solution
Solution:
  1. Step 1: Identify valid input range

    Valid inputs are from 0 to 10 inclusive; 11 is outside this range.
  2. Step 2: Understand boundary value testing rules

    Testing just outside boundaries is to check error handling; failure on 11 means correct rejection.
  3. Final Answer:

    Input 11 is outside the valid range; failure indicates correct error handling -> Option D
  4. Quick Check:

    Outside boundary input failure is expected = Input 11 is outside the valid range; failure indicates correct error handling [OK]
Quick Trick: Outside boundary inputs test error handling, not valid acceptance [OK]
Common Mistakes:
  • Expecting outside values to pass
  • Confusing boundary with outside values
  • Assuming test failure means bug

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Testing Fundamentals Quizzes