Question 1
Which of the following types of testing of a near-finished software product is done by a set of end users outside the development team?
System Testing
Acceptance Testing
Beta Testing
Integration Testing

The IIT Madras BS Software Testing (Software Testing) End Term paper sat on 21 Dec 2025, in the September 2025 term: 22 questions for 102 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.
Which of the following types of testing of a near-finished software product is done by a set of end users outside the development team?
System Testing
Acceptance Testing
Beta Testing
Integration Testing
Correct answer
Beta Testing
Which of the following options best describes the purpose of scalability tests?
To determine if a system protects data and maintains security related functionality.
To measure the ability of system to keep operating over specified periods of time.
To verify that a system can handle load upto its engineering limits.
To determine whether the system can interoperate with other third-party products.
Correct answer
To verify that a system can handle load upto its engineering limits.
—
—
—
—
Correct answer
—
Which type of client-side testing tries to check for issues related to relationships among different parameters of an input?
Parameter level bypass testing
Control flow level bypass testing
Value level bypass testing
User-session data based testing
Correct answer
Parameter level bypass testing
1 - B, 2 - C, 3 - A, 4 - D
1 - A, 2 - D, 3 - B, 4 - C
1 - A, 2 - C, 3 - B, 4 - D
1 - B, 2 - A, 3 - D, 4 - C
Correct answer
1 - A, 2 - C, 3 - B, 4 - D
Consider that a user makes an online purchase by making payment through a payment gateway, after the payment is successful, the user is sent back to the e-commerce website with an order confirmation. Which type of transition would take place in the Application Transition Graph (ATG) in this scenario?
Form Link Transition
Redirect Transition
Operational Transition
Simple Link Transition
Correct answer
Redirect Transition
Consider ISP with four blocks as , , , and . The base choice is . What is the number of total test cases to satisfy base choice coverage criterion?
6
7
8
9
Correct answer
8
Consider the following Java program.
The program outputs Laptop 11, 0 units, instead of Laptop 11, 35 units. It is because the inherited method Laptop::setStockQuantity does not call Product::setStockQuantity and therefore does not define the instance variable stockQuantity in Item. Which of the following types of anomalies or faults are present in the given scenario?
State Visibility Anomaly (SVA)
State Definition Anomaly (SDA)
State Definition Inconsistency Anomaly (SDIA)
Inconsistent Type Use (ITU)
Correct answer
State Definition Anomaly (SDA)
Consider the following Java program.
Which of the following sets of methods will be invoked in the given program?
—
—
—
—
Correct answer
—
Consider the following code statement (ground string) and a mutant: Which of the following types of mutation operators can be applied to the ground string to obtain Mutant-1?
Assignment operator replacement
Absolute value insertion
Scalar variable replacement
Arithmetic operator replacement
Correct answer
Arithmetic operator replacement
Consider the following code segment.
Consider that a mutant is created by deleting the statement super(value); in LINE-15. Which of the following mutation operators is used to create the mutant?
Hiding Variable Insertion (HVI)
Parent Constructor Deletion (PCD)
Overriding Method Deletion (OMD)
Super Keyword Deletion (SKD)
Correct answer
Parent Constructor Deletion (PCD)
Consider the following code segment of a Java servlet. The atomic sections are marked as .
Identify the component expression that corresponds to the given code segment.
—
—
—
—
Correct answer
—
Consider the following data flow graph.
Given a set of test paths , which of the following coverage criteria is satisfied for the variable ?
All-Defs Coverage only
All-Uses Coverage only
All-DU-Paths Coverage
None of these
Correct answer
All-Uses Coverage only
Consider the following code segment for symbolic execution.
Assume that respresents the symbolic value for the variable x in the method void verify(int x). Which of the following path constraints would reach the abort() call at LINE-1?
—
—
—
—
Correct answer
—
Consider test-driven development (TDD) of a software program that works with geometric objects. The implementation for the method TriangleType::type should identify the type of the triangle based on the given side lengths. The following is a test case for this method.
Which of the following are correct implementations of the method?




Correct answers


Consider the following finite state machine (FSM).
Which of the following strings can be accepted by the given FSM?
abed
adec
abde
ad
Correct answers
adec
ad
Based on the above data, answer the given subquestions.
Which of the following is the set of RACC pairs for literal ?
—
—
—
—
Correct answer
—
Based on the above data, answer the given subquestions.
Which of the following is the set of RICC pairs for literal ?
for , no feasible pair for
for . and for
for , and for
for , and for
Correct answer
for , and for
Consider the control flow graph (CFG), , where Set of vertices • Set of edges • Initial vertex • Final vertex • Based on the above data, answer the given subquestions.
What is the cyclomatic complexity of ?
3
4
5
6
Correct answer
4
Consider the control flow graph (CFG), , where Set of vertices • Set of edges • Initial vertex • Final vertex • Based on the above data, answer the given subquestions.
How many test requirements are there for edge-pair coverage on ?
9
10
11
12
Correct answer
11
Based on the above data, answer the given subquestions.
A written answer, not marked automatically.
Consider the control flow graph (CFG), , where Set of vertices • Set of edges • Initial vertex • Final vertex • Based on the above data, answer the given subquestions.
A written answer, not marked automatically.