Software Engineering · Question 6 · Medium

A form field accepts an age from 18 to 60, inclusive. Which set of test values best applies boundary value analysis?

  1. 18, 39, 60
  2. 0, 50, 100
  3. 17, 18, 60, 61
  4. 19, 59
Answer and explanation

Answer: C. 17, 18, 60, 61

Explanation: Boundary value analysis tests just inside and just outside each boundary: 17 and 18 at the lower edge, and 60 and 61 at the upper edge. These are the values where off-by-one defects usually show up.

Previous: Black-box testing designs test cases based on: · Next: A program's control flow graph has 9 edges and 7 nodes and is a single…

Practise software engineering

Try a fresh set of software engineering questions with an explanation after every answer, free and without signing up: Software Engineering practice. Or sit a full placement mock test.

More software engineering questions

More technical & programming practice

Cloud & DevOps · GenAI Basics · Pseudo-code · C Programming · Java · Python · Data Structures · Algorithms

LogicWiz Exams home · All practice topics · Placement mock tests · Daily 10 challenge