All mock tests are FREE till 31 December — register to save your progress

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