For a program of k variables, boundary value analysis yields ______ test cases.
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: C. 4k + 1
Explanation
Boundary value analysis varies one variable at a time while holding all the others at their nominal (typical) value. For each variable four boundary-related values are tried — minimum, just above minimum, just below maximum and maximum — which gives 4 test cases per variable, so 4k in all. One extra test case is added in which every variable simultaneously takes its nominal value. Total = 4k + 1 test cases. (Robustness testing, which also adds values just below the minimum and just above the maximum, is the variant that yields 6k + 1.)More System Software and Operating System questions
- The cyclomatic complexity of a flow graph V(G), in terms of predicate nodes, is: [where P is the number of predicate nodes in the flow grap…
- In software testing, how are error, fault and failure related to each other?
- Verification: (A) refers to the set of activities that ensure that software correctly implements a specific function (B) gives answer to th…
- In which testing strategy are the requirements established during requirements analysis validated against the developed software?
- Arrange the following levels of interrupt protection within the Linux Kernel in order of increasing priority: (A) user mode programs (B) bo…
- Given below are two statements: Statement (I): A thread is a dispatchable unit of work that does not execute sequentially and is not interr…