uiz Space

September 2025 term · Software Testing · BSCS3002

Software Testing Quiz 1: 26 October 2025, Set 3 (September 2025 term)

The IIT Madras BS Software Testing (Software Testing) Quiz 1 paper sat on 26 Oct 2025, in the September 2025 term, set 3: 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
19
MSQ
2
Written
2

Updated

Official paper: IIT M IMPROVEMENT AN EXAM QIC4 26 Oct · 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

In an organization, software testers always look for failures in the software product due to which they have an adversarial relationship with the software developers. Considering this scenario, identify the maximum 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

  • B

    Level 2

Question 3

+5 marksOne correct option

Consider the following statements and choose the correct option. i) Prime path coverage subsumes node and edge coverage. ii) Prime path coverage does not subsume edge-pair 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

  • D

    Both statements are correct.

Question 4

+5 marksOne correct option

Which of the following are required to create a test case?

  1. A

    Test inputs and actual outputs

  2. B

    Test inputs and expected outputs

  3. C

    Actual outputs and expected outputs

  4. D

    Test inputs only

Show answer

Correct answer

  • B

    Test inputs and expected outputs

Question 5

+5 marksOne correct option

Consider the following statements and choose the correct option. i) In JUnit, each test is embedded into one test method. ii) JUnit can be used for unit, integration as well as system testing.

  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 6

+5 marksOne correct option

A ____________ is a skeletal implementation of a software module, used to develop or test a component that calls the stub or depends on it. Fill in the blank with correct option.

  1. A

    test method

  2. B

    test driver

  3. C

    test stub

  4. D

    test suite

Show answer

Correct answer

  • C

    test stub

Question 7

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

    Shared memory interface

  2. B

    Procedure call interface

  3. C

    Message passing interface

  4. D

    External file interface

Show answer

Correct answer

  • B

    Procedure call interface

Question 8

+5 marksOne correct option

Consider the following statements regarding structural graph coverage criteria, and choose the correct option. i) A test path always begins with the initial vertex and ends in the final vertex. ii) A prime path may contain cycles within it as a subpath. iii) Complete path coverage may be feasible for some CFGs.

  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

  • A

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

Question 9

+5 marksOne correct option

The ________ approach to integration testing does not require the use of test stubs or test drivers. Fill in the blank with the correct option.

  1. A

    bottom-up

  2. B

    top-down

  3. C

    sandwich

  4. D

    big bang

Show answer

Correct answer

  • D

    big bang

Question 10

+5 marksOne correct option

Consider the following statement and fill in the blank(s) with the appropriate option. In a maximal chain, the interior vertices have an indegree of i)___ and outdegree of ii)___.

  1. A

    i - 1, ii - 2

  2. B

    i - 0, ii - 2

  3. C

    i - 1, ii - 1

  4. D

    i - 1, ii - 0

Show answer

Correct answer

  • C

    i - 1, ii - 1

Question 11

+5 marksOne correct option
Figure from the original question paper
  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 answer

  • B
    Figure from the original question paper

Question 12

+5 marksOne correct option
Figure from the original question paper
  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 answer

  • D
    Figure from the original question paper

Question 13

+5 marksOne correct option

Which of the following graph coverage criteria is equivalent to state coverage on a finite state machine (FSM)?

  1. A

    Node coverage

  2. B

    Edge coverage

  3. C

    Edge-pair coverage

  4. D

    Prime path coverage

Show answer

Correct answer

  • A

    Node coverage

Question 14

+5 marksOne or more correct options

Which of the following types of testing methods are white box, i.e. require knowledge about the internals of the program?

Select all that apply.

  1. A

    Unit Testing

  2. B

    Stress Testing

  3. C

    Integration Testing

  4. D

    Beta Testing

Show answer

Correct answers

  • A

    Unit Testing

  • C

    Integration Testing

Question 15

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

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 correct option

Consider the following control flow graph (CFG), and answer the subsequent questions.

Consider the following control flow graph (CFG), and answer the subsequent questions.

Consider the following control flow graph (CFG), and answer the subsequent questions.

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

  1. A

    9

  2. B

    10

  3. C

    11

  4. D

    8

Show answer

Correct answer

  • B

    10

Question 17

+5 marksOne correct option

Consider the following control flow graph (CFG), and answer the subsequent questions.

Consider the following control flow graph (CFG), and answer the subsequent questions.

Consider the following control flow graph (CFG), and answer the subsequent questions.

How many test requirements are there for prime path coverage?

  1. A

    9

  2. B

    12

  3. C

    10

  4. D

    11

Show answer

Correct answer

  • C

    10

Question 18

+5 marksOne correct option

Consider the following control flow graph (CFG), and answer the subsequent questions.

Consider the following control flow graph (CFG), and answer the subsequent questions.

Consider the following control flow graph (CFG), and answer the subsequent questions.

What is the cyclomatic complexity of the given CFG?

  1. A

    3

  2. B

    4

  3. C

    5

  4. D

    6

Show answer

Correct answer

  • A

    3

Question 19

+5 marksOne correct option

Consider the following data flow graph, and answer the subsequent questions.

Consider the following data flow graph, and answer the subsequent questions.

Consider the following data flow graph, and answer the subsequent questions.

How many test requirements are there for All-Defs-Coverage for variable x?

  1. A

    1

  2. B

    2

  3. C

    3

  4. D

    4

Show answer

Correct answer

  • B

    2

Question 20

+5 marksOne correct option

Consider the following data flow graph, and answer the subsequent questions.

Consider the following data flow graph, and answer the subsequent questions.

Consider the following data flow graph, and answer the subsequent questions.

How many test requirements are there for All-Uses-Coverage for variable x?

  1. A

    4

  2. B

    5

  3. C

    6

  4. D

    7

Show answer

Correct answer

  • C

    6

Question 21

+5 marksOne correct option

Consider the following data flow graph, and answer the subsequent questions.

Consider the following data flow graph, and answer the subsequent questions.

Consider the following data flow graph, and answer the subsequent questions.
Figure from the original question paper
  1. A

    6

  2. B

    7

  3. C

    8

  4. D

    9

Show answer

Correct answer

  • A

    6

Question 22

+1 markWritten answer

Consider the following control flow graph (CFG), and answer the subsequent questions.

Consider the following control flow graph (CFG), and answer the subsequent questions.

Consider the following control flow graph (CFG), and answer the subsequent questions.
Show answer

A written answer, not marked automatically.

Question 23

+1 markWritten answer

Consider the following data flow graph, and answer the subsequent questions.

Consider the following data flow graph, and answer the subsequent questions.

Consider the following data flow graph, and answer the subsequent questions.
Show answer

A written answer, not marked automatically.