Question 35Asked in UGC NET Computer Science, August 2016 (Paper II & III, Selected Questions)

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

  1. A4k – 1
  2. B4k
  3. C4k + 1
  4. D2ᵏ – 1
Show answerHide answer

Correct answer: (C) 4k + 1

Explanation

For a program of k variables, boundary value analysis yields 4k + 1 test cases. Robustness testing yields 6k + 1 and worst-case testing yields 5ᵏ test cases.

From UGC NET Computer Science PYQ, August 2016 (Paper II & III, Selected Questions)

This is question 35 of UGC NET Computer Science PYQ, August 2016 (Paper II & III, Selected Questions). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.