uiz Space

January 2026 term · Software Testing · BSCS3002

Software Testing End Term: 10 May 2026 (January 2026 term)

The IIT Madras BS Software Testing (Software Testing) End Term paper sat on 10 May 2026, in the January 2026 term: 23 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
23
Marks
102
Duration
180 min
MCQ
19
MSQ
2
Written
2

Updated

Official paper: Sw Testing 06 May 26 · No negative marking.

Question 1

+5 marksOne correct option

A software application allows users to create accounts, log in, transfer funds between accounts, and generate transaction reports. Which of the following types of testing is performed to verify that each of these features works according to the specified requirements and produces the expected results?

  1. A

    Performance Testing

  2. B

    Regression Testing

  3. C

    Functional Testing

  4. D

    Usability Testing

Show answer

Correct answer

  • C

    Functional Testing

Question 2

+5 marksOne correct option

Which of the following options best describes the main objective of integration testing?

  1. A

    To verify that individual code units work correctly in isolation.

  2. B

    To verify that different modules and components work together correctly after being combined.

  3. C

    To verify that the entire system meets all user requirements and business specifications.

  4. D

    To verify that the application performs well under high load and stress conditions.

Show answer

Correct answer

  • B

    To verify that different modules and components work together correctly after being combined.

Question 3

+5 marksOne correct option

Consider a context free grammar over a finite alphabet . The following are the production rules for : Let be the starting symbol. Which of the following sets represents the language generated by the given grammar?

  1. A

    —

  2. B

    —

  3. C

    —

  4. D

    —

Show answer

Correct answer

  • B

    —

Question 4

+5 marksOne correct option

Polymorphism factor belongs to which of the following categories of software metrics?

  1. A

    Product Quality Metrics

  2. B

    Object-Oriented Software Metrics

  3. C

    Maintainance Quality Metrics

  4. D

    In-Process Quality Metrics

Show answer

Correct answer

  • B

    Object-Oriented Software Metrics

Question 5

+5 marksOne correct option

Which type of client-side testing executes test cases that replay user interactions with the web application?

  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

  • D

    User-session data based testing

Question 6

+5 marksOne correct option

The following table lists some access modifiers in object oriented programming.

Match each visibility scope with the appropriate access modifier.

The following table lists some access modifiers in object oriented programming.
  1. A

    1 - A, 2 - C, 3 - B

  2. B

    1 - A, 2 - B, 3 - C

  3. C

    1 - B, 2 - C, 3 - A

  4. D

    1 - B, 2 - A, 3 - C

Show answer

Correct answer

  • A

    1 - A, 2 - C, 3 - B

Question 7

+5 marksOne correct option

A user is on the Search Results page of a travel website. They decide they want to start over, so they click the browser's "Back" button to return to the Search Input page. Which type of transition would take place in the Application Transition Graph (ATG) in this scenario?

  1. A

    Operational Transition

  2. B

    Form Link Transition

  3. C

    Redirect Transition

  4. D

    Simple Link Transition

Show answer

Correct answer

  • A

    Operational Transition

Question 8

+5 marksOne correct option

Consider the following code segment.

A mutant needs to be created by removing the declaration of in . Which of the following mutation operators can be used for this purpose?

Consider the following code segment.
  1. A

    Super Keyword Deletion (SKD)

  2. B

    Overriding Method Deletion (OMD)

  3. C

    Parent Constructor Deletion (PCD)

  4. D

    Hiding Variable Deletion (HVD)

Show answer

Correct answer

  • D

    Hiding Variable Deletion (HVD)

Question 9

+5 marksOne correct option

Consider ISP with four blocks as , , , and . How many tests are needed to satisfy All Combinations Coverage (ACoC) criterion?

  1. A

    48

  2. B

    36

  3. C

    24

  4. D

    12

Show answer

Correct answer

  • B

    36

Question 10

+5 marksOne correct option

Consider the following Java program.

Which of the following types of anomalies or faults are present in the given scenario?

Consider the following Java program.
Consider the following Java program.
  1. A

    State Definition Anomaly (SDA)

  2. B

    State Definition Inconsistency Anomaly (SDIA)

  3. C

    Inconsistent Type Use (ITU)

  4. D

    State Visibility Anomaly (SVA)

Show answer

Correct answer

  • B

    State Definition Inconsistency Anomaly (SDIA)

Question 11

+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

  • D

    —

Question 12

+5 marksOne correct option

Consider the following code segment for symbolic execution.

Assume that and represent the symbolic values for the variables and in the method . Which of the following path constraints would reach the call at ?

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

    —

  2. B

    —

  3. C

    —

  4. D

    —

Show answer

Correct answer

  • C

    —

Question 13

+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 ?

Consider the following code statement (ground string) and a mutant:
  1. A

    Scalar variable replacement

  2. B

    Arithmetic operator replacement

  3. C

    Relational operator replacement

  4. D

    Assignment operator replacement

Show answer

Correct answer

  • C

    Relational operator replacement

Question 14

+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

  • A

    —

Question 15

+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

  • A

    All-Defs Coverage only

Question 16

+4 marksOne or more correct options

Consider the following finite state machine (FSM).

Which of the following are correct regarding the given FSM?

Consider the following finite state machine (FSM).

Select all that apply.

  1. A

    Sequence can be accepted by this FSM

  2. B

    There are 11 test requirements for transition coverage

  3. C

    There are 5 test requirements for transition coverage

  4. D

    Sequence can be accepted by this FSM

Show answer

Correct answers

  • B

    There are 11 test requirements for transition coverage

  • D

    Sequence can be accepted by this FSM

Question 17

+5 marksOne or more correct options

Consider a Test-Driven Development (TDD) approach for a retail management system. A specific user story requires that a store manager can apply a percentage-based discount to a product. The discount value must be validated upon entry to ensure it falls within a specific operational range. Consider the following JUnit test for this user story.

Which of the following are the appropriate implementations of the method in the class?

Consider a Test-Driven Development (TDD) approach for a retail management system. A specific user story requires that a

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 18

+4 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 clause ?

  1. A

    —

  2. B

    —

  3. C

    —

  4. D

    —

Show answer

Correct answer

  • C

    —

Question 19

+4 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 clause ?

  1. A

    , for , no feasible pair for

  2. B

    , for , no feasible pair for

  3. C

    for , , for

  4. D

    for , , for

Show answer

Correct answer

  • B

    , for , no feasible pair for

Question 20

+4 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

    6

  2. B

    3

  3. C

    4

  4. D

    5

Show answer

Correct answer

  • C

    4

Question 21

+4 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

    6

  2. B

    9

  3. C

    8

  4. D

    7

Show answer

Correct answer

  • B

    9

Question 22

+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 23

+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.