Which of the following statement(s) is/are TRUE with regard to software testing?
I. Regression testing technique ensures that the software product runs correctly after the changes during maintenance.
II. Equivalence partitioning is a white-box testing technique that divides the input domain of a program into classes of data from which test cases can be derived.
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: A. only I
Explanation
Statement I is the standard definition of regression testing — rerunning tests after maintenance changes to confirm nothing previously working has broken — so it is true. Statement II is false because of one word: equivalence partitioning is a black-box technique, not white-box. It divides the input domain into equivalence classes purely from the specification, without any knowledge of the internal code structure; white-box techniques such as basis path testing work from the code itself. Since only I holds, the answer is only I.More System Software and Operating System questions
- For a program of k variables, boundary value analysis yields ______ test cases.
- 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…