uiz Space

September 2025 term · Software Testing · BSCS3002

Software Testing End Term: 21 December 2025 (September 2025 term)

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.

Questions
22
Marks
102
Duration
180 min
MCQ
18
MSQ
2
Written
2

Updated

Official paper: Software Testing 18 Dec 25 · No negative marking.

Question 1

+5 marksOne correct option

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?

  1. A

    System Testing

  2. B

    Acceptance Testing

  3. C

    Beta Testing

  4. D

    Integration Testing

Show answer

Correct answer

  • C

    Beta Testing

Question 2

+5 marksOne correct option

Which of the following options best describes the purpose of scalability tests?

  1. A

    To determine if a system protects data and maintains security related functionality.

  2. B

    To measure the ability of system to keep operating over specified periods of time.

  3. C

    To verify that a system can handle load upto its engineering limits.

  4. D

    To determine whether the system can interoperate with other third-party products.

Show answer

Correct answer

  • C

    To verify that a system can handle load upto its engineering limits.

Question 3

+5 marksOne correct option
Figure from the original question paper
  1. A

    —

  2. B

    —

  3. C

    —

  4. D

    —

Show answer

Correct answer

  • A

    —

Question 4

+5 marksOne correct option

Which type of client-side testing tries to check for issues related to relationships among different parameters of an input?

  1. A

    Parameter level bypass testing

  2. B

    Control flow level bypass testing

  3. C

    Value level bypass testing

  4. D

    User-session data based testing

Show answer

Correct answer

  • A

    Parameter level bypass testing

Question 5

+5 marksOne correct option
Figure from the original question paper
  1. A

    1 - B, 2 - C, 3 - A, 4 - D

  2. B

    1 - A, 2 - D, 3 - B, 4 - C

  3. C

    1 - A, 2 - C, 3 - B, 4 - D

  4. D

    1 - B, 2 - A, 3 - D, 4 - C

Show answer

Correct answer

  • C

    1 - A, 2 - C, 3 - B, 4 - D

Question 6

+5 marksOne correct option

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?

  1. A

    Form Link Transition

  2. B

    Redirect Transition

  3. C

    Operational Transition

  4. D

    Simple Link Transition

Show answer

Correct answer

  • B

    Redirect Transition

Question 7

+5 marksOne correct option

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?

  1. A

    6

  2. B

    7

  3. C

    8

  4. D

    9

Show answer

Correct answer

  • C

    8

Question 8

+5 marksOne correct option

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?

Consider the following Java program.
  1. A

    State Visibility Anomaly (SVA)

  2. B

    State Definition Anomaly (SDA)

  3. C

    State Definition Inconsistency Anomaly (SDIA)

  4. D

    Inconsistent Type Use (ITU)

Show answer

Correct answer

  • B

    State Definition Anomaly (SDA)

Question 9

+5 marksOne correct option

Consider the following Java program.

Which of the following sets of methods will be invoked in the given program?

Consider the following Java program.
  1. A

    —

  2. B

    —

  3. C

    —

  4. D

    —

Show answer

Correct answer

  • C

    —

Question 10

+5 marksOne correct option

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?

  1. A

    Assignment operator replacement

  2. B

    Absolute value insertion

  3. C

    Scalar variable replacement

  4. D

    Arithmetic operator replacement

Show answer

Correct answer

  • D

    Arithmetic operator replacement

Question 11

+5 marksOne correct option

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?

Consider the following code segment.
  1. A

    Hiding Variable Insertion (HVI)

  2. B

    Parent Constructor Deletion (PCD)

  3. C

    Overriding Method Deletion (OMD)

  4. D

    Super Keyword Deletion (SKD)

Show answer

Correct answer

  • B

    Parent Constructor Deletion (PCD)

Question 12

+5 marksOne correct option

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.

Consider the following code segment of a Java servlet. The atomic sections are marked as  .
  1. A

    —

  2. B

    —

  3. C

    —

  4. D

    —

Show answer

Correct answer

  • B

    —

Question 13

+5 marksOne correct option

Consider the following data flow graph.

Given a set of test paths , which of the following coverage criteria is satisfied for the variable ?

Consider the following data flow graph.
  1. A

    All-Defs Coverage only

  2. B

    All-Uses Coverage only

  3. C

    All-DU-Paths Coverage

  4. D

    None of these

Show answer

Correct answer

  • B

    All-Uses Coverage only

Question 14

+5 marksOne correct option

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?

Consider the following code segment for symbolic execution.
  1. A

    —

  2. B

    —

  3. C

    —

  4. D

    —

Show answer

Correct answer

  • C

    —

Question 15

+5 marksOne or more correct options

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?

Consider test-driven development (TDD) of a software program that works with geometric objects. The implementation for t

Select all that apply.

  1. A
    Figure from the original question paper
  2. B
    Figure from the original question paper
  3. C
    Figure from the original question paper
  4. D
    Figure from the original question paper
Show answer

Correct answers

  • B
    Figure from the original question paper
  • D
    Figure from the original question paper

Question 16

+5 marksOne or more correct options

Consider the following finite state machine (FSM).

Which of the following strings can be accepted by the given FSM?

Consider the following finite state machine (FSM).

Select all that apply.

  1. A

    abed

  2. B

    adec

  3. C

    abde

  4. D

    ad

Show answer

Correct answers

  • B

    adec

  • D

    ad

Question 17

+5 marksOne correct option

Based on the above data, answer the given subquestions.

Based on the above data, answer the given subquestions.

Which of the following is the set of RACC pairs for literal ?

  1. A

    —

  2. B

    —

  3. C

    —

  4. D

    —

Show answer

Correct answer

  • D

    —

Question 18

+5 marksOne correct option

Based on the above data, answer the given subquestions.

Based on the above data, answer the given subquestions.

Which of the following is the set of RICC pairs for literal ?

  1. A

    for , no feasible pair for

  2. B

    for . and for

  3. C

    for , and for

  4. D

    for , and for

Show answer

Correct answer

  • C

    for , and for

Question 19

+5 marksOne correct option

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 ?

  1. A

    3

  2. B

    4

  3. C

    5

  4. D

    6

Show answer

Correct answer

  • B

    4

Question 20

+5 marksOne correct option

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 ?

  1. A

    9

  2. B

    10

  3. C

    11

  4. D

    12

Show answer

Correct answer

  • C

    11

Question 21

+1 markWritten answer

Based on the above data, answer the given subquestions.

Based on the above data, answer the given subquestions.
Show answer

A written answer, not marked automatically.

Question 22

+1 markWritten answer

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.

Show answer

A written answer, not marked automatically.