uiz Space

January 2025 term · Software Testing · BSCS3002

Software Testing Quiz 2: 16 March 2025 (January 2025 term)

The IIT Madras BS Software Testing (Software Testing) Quiz 2 paper sat on 16 Mar 2025, in the January 2025 term: 18 questions for 100 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
18
Marks
100
Duration
120 min
MCQ
17
MSQ
1

Updated

Official paper: IIT M DEGREE AN EXAM QDB2 16 Mar 2025 · No negative marking.

Question 1

+5 marksOne correct option
  1. A

    1-C, 2-B, 3-A

  2. B

    1-C, 2-A, 3-B

  3. C

    1-B, 2-A, 3-C

  4. D

    1-B, 2-C, 3-A

Show answer

Correct answer

  • D

    1-B, 2-C, 3-A

Question 2

+5 marksOne correct option

What type of software requirements specify the expected behaviors and relationships between the inputs and outputs of a system?

  1. A

    User requirements

  2. B

    Functional requirements

  3. C

    Non-functional requirements

  4. D

    Regulatory requirements

Show answer

Correct answer

  • B

    Functional requirements

Question 3

+5 marksOne correct option
  1. A

    Shared data coupling

  2. B

    Parameter coupling

  3. C

    External device coupling

  4. D

    Message-passing interfaces

Show answer

Correct answer

  • B

    Parameter coupling

Question 4

+5 marksOne correct option
  1. A

    3

  2. B

    4

  3. C

    5

  4. D

    6

Show answer

Correct answer

  • C

    5

Question 5

+5 marksOne correct option
  1. A

    CNF: 3, DNF: 1, 4, None: 2

  2. B

    CNF: 1, 4, DNF: 3, None: 2

  3. C

    CNF: 2, 3, DNF: 1, 4

  4. D

    CNF: 1, DNF: 3, None: 2, 4

Show answer

Correct answer

  • A

    CNF: 3, DNF: 1, 4, None: 2

Question 6

+6 marksOne correct option

A software system calculates shipping charges based on the weight of a package using the following rules:
• If the weight is 1 to 5 kg, the shipping charge is Rs 10.
• If the weight is 6 to 20 kg, the shipping charge is Rs 20.
• If the weight is 21 to 50 kg, the shipping charge is Rs 50.
• If the weight is above 50 kg, the shipping charge is Rs 100.
How many equivalence class partitions can be identified in the given scenario?

  1. A

    4

  2. B

    5

  3. C

    6

  4. D

    7

Show answer

Correct answer

  • B

    5

Question 7

+6 marksOne correct option
  1. A

    All-defs coverage

  2. B

    All-uses coverage

  3. C

    All du-paths coverage

  4. D

    None of these

Show answer

Correct answer

  • A

    All-defs coverage

Question 8

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

Correct answer

  • C

Question 9

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

Correct answer

  • C

Question 10

+6 marksOne or more correct options

Select all that apply.

  1. A

    {44, 45, 50, 100, 101}

  2. B

    {44, 45, 46, 50, 100}

  3. C

    {45, 60, 70, 80, 100}

  4. D

    {44, 45, 46, 50, 99, 100, 101}

Show answer

Correct answers

  • A

    {44, 45, 50, 100, 101}

  • D

    {44, 45, 46, 50, 99, 100, 101}

Question 11

+6 marksOne correct option

Based on the above data, answer the given subquestions.

With reference to the truth table row numbers (Row#), identify the one that covers all the RACC pairs for the clause a.

  1. A

    (3,7), (3,8), (4,7), (4,8)

  2. B

    (3,7), (4,8)

  3. C

    (1,3), (2,4)

  4. D

    No feasible pairs for P = T and (1,5), (1,6), (2,5), (2,6) for P = F

Show answer

Correct answer

  • B

    (3,7), (4,8)

Question 12

+6 marksOne correct option

Based on the above data, answer the given subquestions.

With reference to the truth table row numbers (Row#), identify the one that covers all the RICC pairs for the clause a.

  1. A

    (3,7), (3,8), (4,7), (4,8)

  2. B

    No feasible pairs for P = T and (1,5), (1,6), (2,5), (2,6) for P = F

  3. C

    (3,4) for P = T and (1,2), (5,6), (7,8) for P = F

  4. D

    No feasible pairs for P = T and (1,5), (2,6) for P = F

Show answer

Correct answer

  • D

    No feasible pairs for P = T and (1,5), (2,6) for P = F

Question 13

+6 marksOne correct option

Based on the above data, answer the given subquestions.

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

Correct answer

  • C

Question 14

+6 marksOne correct option

Based on the above data, answer the given subquestions.

From among the following, identify the set of concrete test inputs that execute all the instances of symbolic execution.

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

Correct answer

  • B

Question 15

+6 marksOne correct option

Based on the above data, answer the given subquestions.

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

Correct answer

  • A

Question 16

+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

  • C

Question 17

+5 marksOne correct option

Based on the above data, answer the given subquestions.

Identify the set of test paths that provide edge-pair coverage?

  1. A

    {[1,3,4,3,4,3,5]}

  2. B

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

  3. C

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

  4. D

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

Show answer

Correct answer

  • C

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

Question 18

+5 marksOne correct option

Based on the above data, answer the given subquestions.

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