Quiz Space

January 2025 term · Software Testing · BSCS3002

Software Testing End Term: 13 April 2025 (January 2025 term)

The IIT Madras BS Software Testing (Software Testing) End Term paper sat on 13 Apr 2025, in the January 2025 term: 22 questions for 100 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
100
Duration
180 min
MCQ
19
MSQ
3

Updated

Official paper: IIT M IMPROVEMENT AN EXAM QIM3 13 Apr 2025 · No negative marking.

Question 1

+4 marksOne correct option

A user fills out a web form and clicks the “Submit” button. This action causes the application to transition from the form page to another page (e.g., a confirmation or result page). In the context of an Application Transition Graph (ATG), what type of transition does this represent?

  1. A

    Simple Link Transition

  2. B

    Operational Transition

  3. C

    Form Link Transition

  4. D

    Redirect Transition

Show answer

Correct answer

  • C

    Form Link Transition

Question 2

+4 marksOne correct option

An online booking system requires users to provide a “check-in date” and a “check-out date” while reserving a hotel room. A tester alters the “check-out date” in the form submission to a date earlier than the “check-in date” to check if the application properly enforces the relationship between the two fields. What type of testing does this scenario describe?

  1. A

    Control flow level bypass testing

  2. B

    Parameter level bypass testing

  3. C

    Value level bypass testing

  4. D

    User session data based testing

Show answer

Correct answer

  • B

    Parameter level bypass testing

Question 3

+4 marksOne correct option

Which type of testing is performed by suddenly increasing the number of users to a very large amount in order to measure the system’s performance and determine if it can sustain the workload?

  1. A

    Spike testing

  2. B

    Endurance (soak) testing

  3. C

    Compatibility testing

  4. D

    Regulatory testing

Show answer

Correct answer

  • A

    Spike testing

Question 4

+4 marksOne correct option

Which of the following metrics is categorized as a Maintenance Quality Metric?

  1. A

    Defect Density

  2. B

    Backlog Management Index (BMI)

  3. C

    Code Coverage

  4. D

    Cyclomatic Complexity

Show answer

Correct answer

  • B

    Backlog Management Index (BMI)

Question 5

+4 marksOne correct option

Consider the following method: double root(int a, int b, int c).

Identify the type of the mutation operator.

  1. A

    Scalar variable replacement

  2. B

    Unary operator insertion

  3. C

    Arithmetic operator replacement

  4. D

    Absolute value insertion

Show answer

Correct answer

  • A

    Scalar variable replacement

Question 6

+4 marksOne correct option

Why is Test-Driven Development (TDD) ideal for pair programming?

  1. A

    Because it eliminates the need for collaboration between developers.

  2. B

    Because it allows one developer to write code and the other to test.

  3. C

    Because it requires no test frameworks.

  4. D

    Because TDD does not involve testing during development.

Show answer

Correct answer

  • B

    Because it allows one developer to write code and the other to test.

Question 7

+4 marksOne correct option

In a ride-sharing application, the User Module sends a ride request to the Driver Module via a central messaging service. The modules communicate using message queues. What type of coupling is used in this scenario?

  1. A

    Parameter coupling

  2. B

    Shared data coupling

  3. C

    External device coupling

  4. D

    Message-passing interfaces

Show answer

Correct answer

  • D

    Message-passing interfaces

Question 8

+5 marksOne correct option
  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • A

Question 9

+5 marksOne correct option
  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • C

Question 10

+5 marksOne correct option
  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • D

Question 11

+5 marksOne correct option

Consider the prime path P = [1, 2, 4, 5]. Among the options given, identify the path that tours P with a sidetrip but not a detour.

  1. A

    [1, 2, 4, 2, 4, 5]

  2. B

    [1, 2, 4, 2, 3, 4]

  3. C

    [1, 2, 3, 2, 4, 5]

  4. D

    [1, 2, 3, 4, 5]

Show answer

Correct answer

  • C

    [1, 2, 3, 2, 4, 5]

Question 12

+5 marksOne correct option
  1. A

    Inconsistent type use

  2. B

    State definition anomaly

  3. C

    State definition inconsistency anomaly

  4. D

    State visibility anomaly

Show answer

Correct answer

  • C

    State definition inconsistency anomaly

Question 13

+5 marksOne correct option
  1. A

    Overriding method deletion (OMD)

  2. B

    Overriding method moving (OMM)

  3. C

    Overloading method deletion (OMD)

  4. D

    Super keyword deletion (SKD)

Show answer

Correct answer

  • D

    Super keyword deletion (SKD)

Question 14

+5 marksOne correct option
  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • D

Question 15

+4 marksOne or more correct options

Select all that apply.

  1. A

    {58, 67, 78}

  2. B

    {58, 59, 68, 77, 78}

  3. C

    {57, 58, 67, 78, 79}

  4. D

    {57, 58, 59, 65, 77, 78, 79}

Show answer

Correct answers

  • C

    {57, 58, 67, 78, 79}

  • D

    {57, 58, 59, 65, 77, 78, 79}

Question 16

+4 marksOne correct option

Consider the following Java method below with a mutant indicated in the comments and answer the given subquestions.

  1. A

    TRUE

  2. B

    FALSE

Show answer

Correct answer

  • A

    TRUE

Question 17

+5 marksOne or more correct options

Consider the following Java method below with a mutant indicated in the comments and answer the given subquestions.

Select all that apply.

  1. A

    refer

  2. B

    river

  3. C

    level

  4. D

    little

Show answer

Correct answers

  • B

    river

  • D

    little

Question 18

+5 marksOne or more correct options

Consider the following Java method below with a mutant indicated in the comments and answer the given subquestions.

Select all that apply.

  1. A

    refer

  2. B

    river

  3. C

    level

  4. D

    little

Show answer

Correct answers

  • A

    refer

  • C

    level

Question 19

+4 marksOne correct option

Consider the following annotated control flow graph (CFG) and answer the given subquestions.

Which of the following is a def-clear path with respect to variable y?

  1. A

    [1, 2, 4, 5, 7]

  2. B

    [1, 2, 4, 6, 7]

  3. C

    [1, 3, 4, 5, 7]

  4. D

    [1, 3, 4, 6, 7]

Show answer

Correct answer

  • B

    [1, 2, 4, 6, 7]

Question 20

+5 marksOne correct option

Consider the following annotated control flow graph (CFG) and answer the given subquestions.

Which of the following statements is true about the set of testpaths {[1, 2, 4, 6, 7], [1, 2, 4, 5, 7]} ?

  1. A

    It satisfies all defs coverage for variable y.

  2. B

    It satisfies both the all defs coverage, and all uses coverage for variable y.

  3. C

    It satisfies both the all defs coverage, all-use coverage, and all du-paths coverage for variable y.

  4. D

    None of these

Show answer

Correct answer

  • D

    None of these

Question 21

+5 marksOne correct option

Based on the above data, answer the given subquestions.

  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • B

Question 22

+5 marksOne correct option

Based on the above data, answer the given subquestions.

From the given options, identify all pairs of test requirements to satisfy the restricted inactive clause coverage (RICC) for clause a.

  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • B