Bird
0
0

Consider a function that accepts an integer input from 50 to 60 inclusive. Which of the following test inputs will cover the boundary values correctly?

medium📝 Predict Output Q4 of 15
Testing Fundamentals - Functional Testing Techniques
Consider a function that accepts an integer input from 50 to 60 inclusive. Which of the following test inputs will cover the boundary values correctly?
A51, 53, 57, 59
B50, 55, 60
C48, 52, 58, 62
D49, 50, 51, 59, 60, 61
Step-by-Step Solution
Solution:
  1. Step 1: Identify boundaries and neighbors for 50 to 60

    Boundaries: 50 and 60; neighbors: 49 (below), 51 (above), 59 (below), 61 (above).
  2. Step 2: Verify which option includes all boundaries and neighbors

    49, 50, 51, 59, 60, 61 includes 49, 50, 51, 59, 60, 61 correctly covering boundaries and neighbors.
  3. Final Answer:

    49, 50, 51, 59, 60, 61 -> Option D
  4. Quick Check:

    Boundary values plus neighbors = 49, 50, 51, 59, 60, 61 [OK]
Quick Trick: Always test boundary and adjacent values for full coverage [OK]
Common Mistakes:
  • Testing only boundary values without neighbors
  • Ignoring values just outside the range
  • Selecting random middle values only

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Testing Fundamentals Quizzes