Quiz Space

January 2024 term · Software Testing · BSCS3002

Software Testing End Term: 28 April 2024, Set QDB3 (January 2024 term)

The IIT Madras BS Software Testing (Software Testing) End Term paper sat on 28 Apr 2024, in the January 2024 term, set QDB3: 21 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
21
Marks
100
Duration
180 min
MSQ
3
MCQ
18

Updated

Official paper: IIT M DEGREE AN EXAM QDB3 28 Apr 2024 · No negative marking.

Question 1

+5 marksOne or more correct options

What is/are the main disadvantages of Test-Driven Development (TDD)?

Select all that apply.

  1. A

    Fault isolation is difficult.

  2. B

    The final combined code size may become very large and complex, and it may not be efficient and too cumbersome for (human) readability.

  3. C

    High dependency on test frameworks

  4. D

    A TDD based project is not efficient for pair programming, where writing code and testing can go hand in hand.

Show answer

Correct answers

  • B

    The final combined code size may become very large and complex, and it may not be efficient and too cumbersome for (human) readability.

  • C

    High dependency on test frameworks

Question 2

+4 marksOne or more correct options

Identify the predicate(s) which are in Conjunctive Normal Form (CNF).

Select all that apply.

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

Correct answers

  • A
  • C

Question 3

+6 marksOne or more correct options

Select all that apply.

  1. A

    testcase1()

  2. B

    testcase2()

  3. C

    testcase3()

  4. D

    testcase4()

Show answer

Correct answers

  • B

    testcase2()

  • C

    testcase3()

Question 4

+5 marksOne correct option

Defect Removal Effectiveness (DRE) is an example of which kind of metrics?

  1. A

    Product quality metrics

  2. B

    In-process quality metrics

  3. C

    Maintenance quality metrics

  4. D

    Project metrics

Show answer

Correct answer

  • B

    In-process quality metrics

Question 5

+5 marksOne correct option
  1. A

    A-3, B-4, C-1, D-2

  2. B

    A-4, B-1, C-3, D-2

  3. C

    A-3, B-1, C-4, D-2

  4. D

    A-4, B-3, C-1, D-2

Show answer

Correct answer

  • A

    A-3, B-4, C-1, D-2

Question 6

+5 marksOne correct option
  1. A

    OMM (Overriding method moving) operator

  2. B

    OMR (Overridden method rename) operator

  3. C

    OMD (Overriding method deletion) operator

  4. D

    OMC (Overloading method change) operator

Show answer

Correct answer

  • B

    OMR (Overridden method rename) operator

Question 7

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

Correct answer

  • D

Question 8

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

Correct answer

  • B

Question 9

+5 marksOne correct option
  1. A

    3

  2. B

    5

  3. C

    6

  4. D

    18

Show answer

Correct answer

  • A

    3

Question 10

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

Correct answer

  • C

Question 11

+4 marksOne correct option

Which of the following tests involves a rapid and significant increase in the number of users, followed by measuring the system’s performance?

  1. A

    Load testing

  2. B

    Stress testing

  3. C

    Soak testing

  4. D

    Spike testing

Show answer

Correct answer

  • D

    Spike testing

Question 12

+4 marksOne correct option

Which type of client-side testing can significantly reduce the effort to generate test cases and is also empirically proven to find faults in web sites related to first-time users, sudden spikes in the number of users, etc.?

  1. A

    Value level bypass testing

  2. B

    Parameter level bypass testing

  3. C

    Control flow level bypass testing

  4. D

    User-session data based testing

Show answer

Correct answer

  • D

    User-session data based testing

Question 13

+4 marksOne correct option
  1. A

    Unary operator insertion

  2. B

    Unary operator deletion

  3. C

    Scalar variable replacement

  4. D

    Arithmetic operator replacement

Show answer

Correct answer

  • A

    Unary operator insertion

Question 14

+4 marksOne correct option

Which of the following is true about triggering events in Finite State Machine (FSM)?

  1. A

    They represent sets of values for (key) variables.

  2. B

    They model possible changes from one state to another.

  3. C

    Those are the conditions that must be true for transitions to be made.

  4. D

    Those are the changes to the variables that cause transitions to be made.

Show answer

Correct answer

  • D

    Those are the changes to the variables that cause transitions to be made.

Question 15

+4 marksOne correct option

Coupling variables are variables that are defined in one unit and used in the other. Identify the type of coupling where two units communicate by sending and receiving messages over buffers.

  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 16

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

Correct answer

  • B

Question 17

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

  • B

    State definition anomaly

Question 18

+4 marksOne correct option

Based on the above data, answer the given subquestions.

Identify all pairs of rows from your table that satisfy Restricted Active Clause Coverage (RACC) with respect to clause a.

  1. A

    (2, 6)

  2. B

    (2, 4)

  3. C

    (3, 4), (5, 6), (7, 8)

  4. D

    (1, 5), (3, 7)

Show answer

Correct answer

  • A

    (2, 6)

Question 19

+4 marksOne correct option

Based on the above data, answer the given subquestions.

Identify all pairs of rows from your table that satisfy Restricted Inactive Clause Coverage (RICC) with respect to clause a.

  1. A

    (2, 6) for p = true, (3, 7) for p = false

  2. B

    (1, 2) for p = true, no feasible pair for p = false

  3. C

    (1, 5), (3, 7) for p = true, (4, 8) for p = false

  4. D

    (1, 3), (5, 7) for p = true, (6, 8) for p = false

Show answer

Correct answer

  • C

    (1, 5), (3, 7) for p = true, (4, 8) for p = false

Question 20

+5 marksOne correct option

Based on the above data, answer the given subquestions.

What is the number of requirements for the edge-pair coverage of the given CFG?

  1. A

    9

  2. B

    10

  3. C

    11

  4. D

    12

Show answer

Correct answer

  • C

    11

Question 21

+5 marksOne correct option

Based on the above data, answer the given subquestions.

What is the number of requirements for the prime path coverage of the given CFG?

  1. A

    9

  2. B

    10

  3. C

    11

  4. D

    12

Show answer

Correct answer

  • A

    9