For a program of k variables, boundary value analysis yields ______ test cases

2016

For a program of k variables, boundary value analysis yields ______ test cases

  1. A.

    4k − 1

  2. B.

    4k

  3. C.

    4k + 1

  4. D.

    2k − 1

Attempted by 108 students.

Show answer & explanation

Correct answer: C

Boundary Value Analysis for k variables requires 4k + 1 test cases. This formula accounts for one nominal case plus four boundary values (min, min+, max-, max) for each of the k variables.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Mppsc Assistant Professor