For a function of ‘n’ variable, boundary value analysis yields:
2026
For a function of ‘n’ variable, boundary value analysis yields:
- A.
n + 4 cases
- B.
2n + 4 cases
- C.
4n + 1 cases
- D.
4n + 3 cases
Attempted by 48 students.
Show answer & explanation
Correct answer: C
Boundary Value Analysis (BVA) is a software testing technique used to identify errors at the boundaries of input domains. For a function with 'n' variables, BVA typically yields 4n + 1 test cases. This formula accounts for testing the minimum, minimum+, nominal, maximum-, and maximum values for each variable. Specifically, 4 boundary values are tested per variable (min, min+, max-, max) while holding others at nominal, plus one additional test case where all variables are at their nominal values.