uiz Space

May 2024 term · Software Testing · BSCS3002

Software Testing Quiz 2: 4 August 2024 (May 2024 term)

The IIT Madras BS Software Testing (Software Testing) Quiz 2 paper sat on 4 Aug 2024, in the May 2024 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
13
MSQ
5

Updated

Official paper: IIT M DEGREE AN EXAM QDB2 4 Aug 2024 · No negative marking.

Question 1

+4 marksOne correct option

Which of the following graph coverage criteria is applicable to FSM (Finite State Machine) to execute every transition?

  1. A

    Node coverage

  2. B

    Edge coverage

  3. C

    Edge pair coverage

  4. D

    Data flow coverage

Show answer

Correct answer

  • B

    Edge coverage

Question 2

+4 marksOne correct option

Consider an organization building a CCTV-based security application for domestic buildings, which requires the organization to find government rules and guidelines regarding the privacy of individual personnel. What type of requirement is this?

  1. A

    Business requirements

  2. B

    User requirements

  3. C

    Non-functional requirements

  4. D

    Regulatory requirements

Show answer

Correct answer

  • D

    Regulatory requirements

Question 3

+4 marksOne correct option

Which of the following is true about Conjunctive Normal Form (CNF)?

  1. A

    It consists of disjuncts connected by the conjunction operator.

  2. B

    It consists of conjuncts connected by the disjunction operator.

  3. C

    It consists of negations connected by the disjunction operator.

  4. D

    It consists of disjuncts connected by the disjunction operator.

Show answer

Correct answer

  • A

    It consists of disjuncts connected by the conjunction operator.

Question 4

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

+6 marksOne correct option
  1. A

    54

  2. B

    14

  3. C

    7

  4. D

    3

Show answer

Correct answer

  • C

    7

Question 6

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

Correct answer

  • B

Question 7

+6 marksOne or more correct options

Select all that apply.

  1. A

    {18, 25, 48}

  2. B

    {18, 19, 25, 47, 48}

  3. C

    {17, 18, 25, 48, 49}

  4. D

    {17, 18, 19, 25, 47, 48, 49}

Show answer

Correct answers

  • C

    {17, 18, 25, 48, 49}

  • D

    {17, 18, 19, 25, 47, 48, 49}

Question 8

+6 marksOne or more correct options

Select all that apply.

  1. A

    [1, 2, 4, 5]

  2. B

    [1, 3, 4, 6]

  3. C

    [1, 2, 4, 6]

  4. D

    [1, 3, 4, 5]

Show answer

Correct answers

  • B

    [1, 3, 4, 6]

  • D

    [1, 3, 4, 5]

Question 9

+5 marksOne correct option
  1. A

    p is neither satisfiable nor a tautology.

  2. B

    p is satisfiable but not a tautology.

  3. C

    p is a tautology but not satisfiable.

  4. D

    p is satisfiable as well as tautology.

Show answer

Correct answer

  • B

    p is satisfiable but not a tautology.

Question 10

+5 marksOne or more correct options

Which of the integration testing approaches may use test stubs?

Select all that apply.

  1. A

    Top-down approach

  2. B

    Bottom-up approach

  3. C

    Sandwich approach

  4. D

    Big bang approach

Show answer

Correct answers

  • A

    Top-down approach

  • C

    Sandwich approach

Question 11

+6 marksOne correct option

Based on the above data, answer the given subquestions.

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

  1. A

    (1,5), (1,6), (1,8), (2,5), (2,6), (2,8), (4,5), (4,6), (4,8)

  2. B

    (1,5), (2,6), (4,8)

  3. C

    (5,7), (6,8)

  4. D

    (1,5)

Show answer

Correct answer

  • A

    (1,5), (1,6), (1,8), (2,5), (2,6), (2,8), (4,5), (4,6), (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#) given, identify the one that covers all the RACC pairs for the clause a.

  1. A

    (1,5), (1,6), (1,8), (2,5), (2,6), (2,8), (4,5), (4,6), (4,8)

  2. B

    (1,5), (2,6), (4,8)

  3. C

    (5,7), (6,8)

  4. D

    (1,5)

Show answer

Correct answer

  • B

    (1,5), (2,6), (4,8)

Question 13

+6 marksOne correct option

Based on the above data, answer the given subquestions.

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

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

Correct answer

  • A

Question 14

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

+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

    {x = 1, y = 1}, {x = 0, y = 1}

  2. B

    {x = 1, y = 0}, {x = 0, y = 3}, {x = -1, y = -2}

  3. C

    {x = 1, y = 1}, {x = 1, y = 2}, {x = -1, y = -2}

  4. D

    {x = 1, y = 1}, {x = 1, y = -1}, {x = -1, y = -2}

Show answer

Correct answer

  • B

    {x = 1, y = 0}, {x = 0, y = 3}, {x = -1, y = -2}

Question 16

+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

  • D

Question 17

+6 marksOne or more correct options

Based on the above data, answer the given subquestions.

Which of the following sets of test paths achieve(s) edge coverage, but not edge-pair coverage?

Select all that apply.

  1. A

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

  2. B

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

  3. C

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

  4. D

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

Show answer

Correct answers

  • A

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

  • B

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

Question 18

+6 marksOne or more correct options

Based on the above data, answer the given subquestions.

Which of the following sets of test paths achieve(s) edge coverage as well as edge-pair coverage?

Select all that apply.

  1. A

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

  2. B

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

  3. C

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

  4. D

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

Show answer

Correct answers

  • C

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

  • D

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