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.
only I
Regression testing and equivalence partitioning are two standard techniques described in software engineering texts such as Pressman.
I. Regression testing re-executes a subset of already-run tests after a change (a bug fix or an enhancement during maintenance) to make sure the change has not broken behaviour that worked before. The statement is true.
II. Equivalence partitioning does divide the input domain into classes of data from which test cases are derived, but it is a black-box technique: it uses only the specification of inputs and outputs, not the internal code structure. Calling it white-box makes the statement false.
Since only statement I holds, the choices that accept II, both, or neither are wrong.
only I option is correct.
Which one of the following is not a source code metric ?
Maximum possible value of reliability is
Debugger is a program that
Which one of the following set of attributes should not be encompassed by effective software metrics ?
Which one of the following is used to compute cyclomatic complexity ?
Software testing is
Assume that a program will experience 200 failures in infinite time. It has now experienced 100 failures. The initial failure intensity was 20 failures/CPU hr. Then the current failure intensity will be
Which one of the following is not a definition of error ?
Regression testing is primarily related to
Which of the following are facts about a top-down software testing approach ?
I. Top-down testing typically requires the tester to build method stubs.
II. Top-down testing typically requires the tester to build test drivers.
Good design dictates that error conditions be anticipated and error-handling paths set up to reroute or clearly terminate processing when an error does occur. This approach is called ________.