Bird
0
0

You need to design boundary value test cases for a form field that accepts decimal numbers from 0.0 to 1.0 inclusive. Which set of test inputs correctly applies boundary value analysis?

hard📝 Application Q8 of 15
Testing Fundamentals - Functional Testing Techniques
You need to design boundary value test cases for a form field that accepts decimal numbers from 0.0 to 1.0 inclusive. Which set of test inputs correctly applies boundary value analysis?
A0.0, 0.5, 1.0
B−0.1, 0.0, 0.1, 0.9, 1.0, 1.1
C0.1, 0.2, 0.3, 0.4
D−1.0, 0.0, 1.0, 2.0
Step-by-Step Solution
Solution:
  1. Step 1: Identify boundaries and neighbors for 0.0 to 1.0

    Boundaries: 0.0 and 1.0; neighbors: just below 0.0 (−0.1) and just above 1.0 (1.1), plus values just inside boundaries (0.1, 0.9).
  2. Step 2: Check which option includes boundaries and neighbors

    −0.1, 0.0, 0.1, 0.9, 1.0, 1.1 includes −0.1, 0.0, 0.1, 0.9, 1.0, 1.1 correctly covering boundaries and neighbors.
  3. Final Answer:

    −0.1, 0.0, 0.1, 0.9, 1.0, 1.1 -> Option B
  4. Quick Check:

    Decimal boundaries plus neighbors = −0.1, 0.0, 0.1, 0.9, 1.0, 1.1 [OK]
Quick Trick: Include decimal neighbors just outside boundaries [OK]
Common Mistakes:
  • Ignoring decimal neighbors outside boundaries
  • Testing only whole numbers
  • Missing boundary decimal values

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Testing Fundamentals Quizzes