For a function of ‘n’ variable, boundary value analysis yields:

2026

For a function of ‘n’ variable, boundary value analysis yields:

  1. A.

    n + 4 cases

  2. B.

    2n + 4 cases

  3. C.

    4n + 1 cases

  4. 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.

Explore the full course: Up Lt Grade Assistant Teacher 2025