Question 1
Backlog Management Index (BMI) is an example of which kind of metrics?
Product quality metrics
In-process quality metrics
Maintenance quality metrics
Project metrics
The IIT Madras BS Software Testing (Software Testing) End Term paper sat on 28 Apr 2024, in the January 2024 term, set QDB1: 21 questions for 100 marks in 180 minutes. Every question is below with its answer. Take it as a timed mock test to be marked, or read it through first.
Backlog Management Index (BMI) is an example of which kind of metrics?
Product quality metrics
In-process quality metrics
Maintenance quality metrics
Project metrics
Correct answer
Maintenance quality metrics
Which of the following tests is performed to monitor the system parameters, such as memory utilization, to detect memory leaks or other performance issues under the continuous expected load?
Load testing
Stress testing
Soak testing
Spike testing
Correct answer
Soak testing
Which type of client-side testing tries to verify Web applications by executing test cases that interrupt the normal execution sequence, like altering the control flow by pressing the back button, pressing the refresh button, or directly entering an URL into a browser?
Value level bypass testing
Parameter level bypass testing
Control flow level bypass testing
User-session data based testing
Correct answer
Control flow level bypass testing
Which of the following types of mutants can be killed by almost any test case?
Stillborn mutant
Trivial mutant
Equivalent mutant
Dead mutant
Correct answer
Trivial mutant
Which of the following is true about preconditions in Finite State Machine (FSM)?
They represent sets of values for (key) variables.
They model possible changes from one state to another
Those are the conditions that must be true for transitions to be made.
Those are the changes to the variables that cause transitions to be made.
Correct answer
Those are the conditions that must be true for transitions to be made.
Coupling variables are variables that are defined in one unit and used in the other. Identify the type of coupling where two units access an external object like a file.
Parameter coupling
Shared data coupling
External device coupling
Message-passing interfaces
Correct answer
External device coupling
A-4, B-1, C-3, D-2
A-4, B-3, C-1, D-2
A-3, B-1, C-4, D-2
A-3, B-4, C-1, D-2
Correct answer
A-4, B-3, C-1, D-2
Which of the following mutation operator is used in creating the above mutant?
Overriding Method Moving (OMM) operator
Argument number change (ANC) operator
Argument order change (AOC) operator
Overloading Method Change (OMC) operator
Correct answer
Argument order change (AOC) operator
Which of the following sets of the methods will be invoked in the above program?
Correct answer
Correct answer
4
6
7
24
Correct answer
4
Correct answer
Consider the code segment of a Java servlet below. The atomic sections are marked as P1, P2, P3, · · ·
Identify the component expression corresponding to the given code above.
Correct answer
Inconsistent type use
State definition anomaly
State definition inconsistency anomaly
State visibility anomaly
Correct answer
Inconsistent type use
What is/are the main advantages of Test-Driven Development (TDD)?
Fault isolation is easy
The final combined code size remains minimal, and it is always efficient and highly readable.
Low dependency on test frameworks
A TDD based project is ideal for pair programming one for writing code and one for testing.
Correct answers
Fault isolation is easy
A TDD based project is ideal for pair programming one for writing code and one for testing.
Identify the test case method(s) that will fail for the given code base.
testcase1()
testcase2()
testcase3()
testcase4()
Correct answers
testcase2()
testcase4()
Identify the predicate(s) which are in Disjunctive Normal Form (DNF)?
Correct answers
Based on the above data, answer the given subquestions.
Identify all pairs of rows from your table that satisfy Restricted Active Clause Coverage (RACC) with respect to clause a.
Correct answer
Based on the above data, answer the given subquestions.
Identify all pairs of rows from your table that satisfy Restricted Inactive Clause Coverage (RICC) with respect to clause a.
Correct answer
Based on the above data, answer the given subquestions.
What is the number of requirements for the edge-pair coverage of the given CFG?
9
10
11
12
Correct answer
11
Based on the above data, answer the given subquestions.
What is the number of requirements for the prime path coverage of the given CFG?
9
10
11
12
Correct answer
9