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 Software Engineering 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?
- Software reliability is described with respect to (A) Execution Time (B) Calendar Time (C) Clock Time Choose the correct answer from the op…
- Statement I: "Quality control involves the series of inspections, reviews and tests used throughout the software process, to ensure each wo…