COMPUTER SCIENCE AND ENGINEERING
SOFTWARE ENGINEERING
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
For a function of n variables, boundary value analysis yields:
|
4n+3 test cases
|
|
4n+1 test cases
|
|
n+4 test cases
|
|
None of the above
|
Explanation:
Detailed explanation-1: -Thus, for a function of n variables, BVA yields (4n + 1) test cases. Limitations of BVA: 1) Boolean and logical variables present a problem for Boundary Value Analysis. 2) BVA assumes the variables to be truly independent which is not always possible.
Detailed explanation-2: -Typically, we choose one test case from each boundary. Finding defects using Boundary value analysis test design technique is very effective and it can be used at all test levels.
Detailed explanation-3: -➢ Robust Worst-case testing for a function on n variables generates 7n test cases.
Detailed explanation-4: -It can be generalized that for n input variables in a module, 7n test cases can be designed with robust worst-case testing.
There is 1 question to complete.