Quiz Space

May 2024 term · Software Testing · BSCS3002

Software Testing End Term: 1 September 2024, Set QDB3 (May 2024 term)

The IIT Madras BS Software Testing (Software Testing) End Term paper sat on 1 Sept 2024, in the May 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 01 Sep 2024 · No negative marking.

Question 1

+4 marksOne or more correct options

Which of the following is/are considered as security testing?

Select all that apply.

  1. A

    Verify that only authorized accesses to the system are permitted.

  2. B

    Verify whether the system can inter-operate with other third-party products.

  3. C

    Verify the ability of system to keep operating over specified periods of time.

  4. D

    Ensure that virus checkers prevent/curtail entry of viruses into the system.

Show answer

Correct answers

  • A

    Verify that only authorized accesses to the system are permitted.

  • D

    Ensure that virus checkers prevent/curtail entry of viruses into the system.

Question 2

+5 marksOne or more correct options

Select all that apply.

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

Correct answers

  • B
  • C

Question 3

+5 marksOne or more correct options

Select all that apply.

  1. A

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

  2. B

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

  3. C

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

  4. D

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

Show answer

Correct answers

  • C

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

  • D

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

Question 4

+4 marksOne correct option
  1. A

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

  2. B

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

  3. C

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

  4. D

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

Show answer

Correct answer

  • B

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

Question 5

+4 marksOne correct option

Which type of mutants are valid and can be killed by a test case?

  1. A

    Stillborn mutant

  2. B

    Trivial mutant

  3. C

    Equivalent mutant

  4. D

    Dead mutant

Show answer

Correct answer

  • D

    Dead mutant

Question 6

+4 marksOne correct option
  1. A

    3

  2. B

    4

  3. C

    7

  4. D

    36

Show answer

Correct answer

  • A

    3

Question 7

+5 marksOne correct option
  1. A

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

  2. B

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

  3. C

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

  4. D

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

Show answer

Correct answer

  • C

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

Question 8

+5 marksOne correct option

Identify the regular expression that represents all the strings of 0’s and 1’s beginning with 0 and ending with 1.

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

Correct answer

  • C

Question 9

+5 marksOne correct option
  1. A

    Only all defs coverage for i

  2. B

    Only all uses coverage for i

  3. C

    All du-paths coverage for i

  4. D

    All defs coverage for i and also All uses coverage for i, but not all du-paths coverage for i

Show answer

Correct answer

  • C

    All du-paths coverage for i

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
  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • C

Question 12

+5 marksOne correct option
  1. A

    Hiding variable insertion (HVD)

  2. B

    Hiding variable deletion (HVD)

  3. C

    Parent constructor deletion (PCD)

  4. D

    Super keyword deletion (SKD):

Show answer

Correct answer

  • D

    Super keyword deletion (SKD):

Question 13

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

+5 marksOne correct option

Based on the above data, answer the given subquestions.

Identify the component expression corresponding to the given code

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

Correct answer

  • D

Question 15

+4 marksOne correct option

Based on the above data, answer the given subquestions.

From the following options, identify the content variable for code given.

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

Correct answer

  • C

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

  • B

Question 17

+4 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 18

+5 marksOne correct option

Based on the above data, answer the given subquestions.

What is the minimum number of test paths are required for node coverage and edge coverage of the given method?

  1. A

    1 for both node coverage and edge coverage

  2. B

    1 for node coverage and 2 for edge coverage

  3. C

    2 for both node coverage and edge coverage

  4. D

    1 for node coverage and 3 for edge coverage

Show answer

Correct answer

  • A

    1 for both node coverage and edge coverage

Question 19

+5 marksOne correct option

Based on the above data, answer the given subquestions.

What is the cyclomatic complexity of the given method?

  1. A

    3

  2. B

    4

  3. C

    5

  4. D

    6

Show answer

Correct answer

  • A

    3

Question 20

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

+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