uiz Space

May 2025 term · Software Testing · BSCS3002

Software Testing Quiz 1: 13 July 2025, Set 2 (May 2025 term)

The IIT Madras BS Software Testing (Software Testing) Quiz 1 paper sat on 13 Jul 2025, in the May 2025 term, set 2: 23 questions for 103 marks in 120 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
103
Duration
120 min
MCQ
16
MSQ
1
Written
6

Updated

Official paper: IIT M DEGREE AN EXAM QDB4 13 July 2025 · No negative marking.

Question 1

+1 markOne correct option

THIS IS QUESTION PAPER FOR THE SUBJECT "DEGREE LEVEL : SOFTWARE TESTING (COMPUTER BASED EXAM)" ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT? CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN. (IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)

  1. A

    YES

  2. B

    NO

Show answer

Correct answer

  • A

    YES

Question 2

+5 marksOne correct option

The following table lists some concepts from Software Testing.

The following table lists some concepts from Software Testing. Match each term given in Column A with the related term given in Column B.

The following table lists some concepts from Software Testing.
  1. A

    i - a, ii - b, iii - c, iv - d

  2. B

    i - d, ii - c, iii - b, iv - a

  3. C

    i - b, ii - c, iii - a, iv - d

  4. D

    i - d, ii - b, iii - c, iv - a

Show answer

Correct answer

  • B

    i - d, ii - c, iii - b, iv - a

Question 3

+5 marksOne correct option

A mobile app sends a request over the network to the server, to retrieve results of students in a particular subject, upon receiving the request, the server responds back with the results data for that subject. In this scenario, which type of interface exists between the mobile app and the server?

  1. A

    Shared memory interface

  2. B

    Message-passing interface

  3. C

    Procedure call interface

  4. D

    External file interface

Show answer

Correct answer

  • B

    Message-passing interface

Question 4

+5 marksOne correct option

In an organization, software developers and testers are cooperating with each other in order to reduce risks in using the software product. Considering this scenario, identify the minimum process maturity level of this organization.

  1. A

    Level 1

  2. B

    Level 2

  3. C

    Level 3

  4. D

    Level 4

Show answer

Correct answer

  • C

    Level 3

Question 5

+5 marksOne correct option

A software testing engineer performed various tests on a web application to ensure that users can easily access and use the application user interface on different types of devices such as smartphones, tablets, and desktop computers, all of which have different form factors and screen sizes. Which of the following types of testing does this scenario represent?

  1. A

    Stress Testing

  2. B

    Usability Testing

  3. C

    Functional Testing

  4. D

    Performance Testing

Show answer

Correct answer

  • B

    Usability Testing

Question 6

+5 marksOne correct option

Fill in the blank with the appropriate option. _______________ deals with testing each linearly independent path in the CFG of the program.

  1. A

    Complexity testing

  2. B

    Basis path testing

  3. C

    Unit testing

  4. D

    Integration testing

Show answer

Correct answer

  • B

    Basis path testing

Question 7

+4 marksOne correct option

Consider the following statements and choose the appropriate option. i) A module or a component is a self-contained element of a system. ii) Interfaces implement a mechanism for passing control and data between modules.

  1. A

    Statement i) is correct and Statement ii) is incorrect.

  2. B

    Statement ii) is correct and Statement i) is incorrect.

  3. C

    Both statements are incorrect.

  4. D

    Both statements are correct.

Show answer

Correct answer

  • D

    Both statements are correct.

Question 8

+4 marksOne correct option

Consider the following statements and choose the appropriate option. i) Each du-path is a simple path, so prime path coverage subsumes all-du-paths coverage. ii) All-du-paths coverage does not subsume edge coverage.

  1. A

    Statement i) is correct and Statement ii) is incorrect.

  2. B

    Statement ii) is correct and Statement i) is incorrect.

  3. C

    Both statements are incorrect.

  4. D

    Both statements are correct.

Show answer

Correct answer

  • A

    Statement i) is correct and Statement ii) is incorrect.

Question 9

+4 marksOne correct option

Fill in the blank with the appropriate option. _______________ is a software component or test tool that replaces a component that takes care of the control and/or the calling of a software component.

  1. A

    Test driver

  2. B

    Test suite

  3. C

    Test method

  4. D

    Test stub

Show answer

Correct answer

  • A

    Test driver

Question 10

+4 marksOne correct option

Fill in the blank with the appropriate option. A path from node ni to nj is a _________ if no node appears more than once, except possibly the first and last node.

  1. A

    simple path

  2. B

    test path

  3. C

    DD-path

  4. D

    def-clear path

Show answer

Correct answer

  • A

    simple path

Question 11

+4 marksOne correct option

Fill in the blank with the appropriate option. A DD-path consists of a maximal chain of length __________.

  1. A

    equal to 1

  2. B

    equal to 2

  3. C

    greater than or equal to 1

  4. D

    at most 3

Show answer

Correct answer

  • C

    greater than or equal to 1

Question 12

+6 marksOne correct option

Consider the following statements regarding the approaches in integration testing: i) In big bang approach, the entire system is tested as a whole. ii) Sandwich approach uses a mix of top-down and bottom-up testing approaches. iii) Top-down approach does not work well for systems with hierarchical design. Choose the correct option.

  1. A

    Statement i) and iii) are correct. Statement ii) is incorrect.

  2. B

    Statement i) is correct. Statement ii) and iii) are incorrect.

  3. C

    Statement ii) and iii) are correct. Statement i) is incorrect.

  4. D

    Statement i) and ii) are correct. Statement iii) is incorrect.

Show answer

Correct answer

  • D

    Statement i) and ii) are correct. Statement iii) is incorrect.

Question 13

+6 marksOne correct option

Complete path coverage on a CFG becomes infeasible due to which of the following reasons?

  1. A

    Due to presence of multiple branches

  2. B

    Due to presence of multiple terminal nodes

  3. C

    Due to presence of loops

  4. D

    Complete path coverage is always feasible

Show answer

Correct answer

  • C

    Due to presence of loops

Question 14

+6 marksOne or more correct options
Figure from the original question paper

Select all that apply.

  1. A

    testcase1()

  2. B

    testcase2()

  3. C

    testcase3()

  4. D

    testcase4()

Show answer

Correct answers

  • B

    testcase2()

  • D

    testcase4()

Question 15

+5 marksOne correct option

Consider the CFG given below, and answer the subquestions.

Consider the CFG given below, and answer the subquestions.

Consider the CFG given below, and answer the subquestions.

How many test requirements are there for edge-pair coverage?

  1. A

    12

  2. B

    11

  3. C

    9

  4. D

    10

Show answer

Correct answer

  • D

    10

Question 16

+6 marksOne correct option

Consider the CFG given below, and answer the subquestions.

Consider the CFG given below, and answer the subquestions.

Consider the CFG given below, and answer the subquestions.

How many test requirements are there for prime path coverage?

  1. A

    8

  2. B

    6

  3. C

    3

  4. D

    10

Show answer

Correct answer

  • A

    8

Question 17

+5 marksWritten answer

Consider the CFG given below, and answer the subquestions.

Consider the CFG given below, and answer the subquestions.

Consider the CFG given below, and answer the subquestions.

What is the cyclomatic complexity of the given CFG?

Show answer

A written answer, not marked automatically.

Question 18

+5 marksWritten answer

Consider the following data flow graph and answer the given subquestions.

Consider the following data flow graph and answer the given subquestions.

Consider the following data flow graph and answer the given subquestions.

How many definitions are there for the variable p?

Show answer

A written answer, not marked automatically.

Question 19

+5 marksWritten answer

Consider the following data flow graph and answer the given subquestions.

Consider the following data flow graph and answer the given subquestions.

Consider the following data flow graph and answer the given subquestions.

How many uses are there for the variable p?

Show answer

A written answer, not marked automatically.

Question 20

+6 marksWritten answer

Consider the following data flow graph and answer the given subquestions.

Consider the following data flow graph and answer the given subquestions.

Consider the following data flow graph and answer the given subquestions.

How many du-pairs are there for the variable p?

Show answer

A written answer, not marked automatically.

Question 21

+5 marksOne correct option

Consider the following data flow graph and answer the given subquestions.

Consider the following data flow graph and answer the given subquestions.

Consider the following data flow graph and answer the given subquestions.

Which of the following is not a def-clear path for variable p?

  1. A

    [2, 3, 5]

  2. B

    [2, 3, 4]

  3. C

    [2, 3, 4, 3, 5]

  4. D

    [6, 7, 6, 8]

Show answer

Correct answer

  • C

    [2, 3, 4, 3, 5]

Question 22

+1 markWritten answer

Consider the CFG given below, and answer the subquestions.

Consider the CFG given below, and answer the subquestions.

Consider the CFG given below, and answer the subquestions.
Show answer

A written answer, not marked automatically.

Question 23

+1 markWritten answer

Consider the following data flow graph and answer the given subquestions.

Consider the following data flow graph and answer the given subquestions.

Consider the following data flow graph and answer the given subquestions.
Show answer

A written answer, not marked automatically.