Quiz Space

May 2024 term · Software Testing · BSCS3002

Software Testing End Term: 1 September 2024, Set QDB1 (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 QDB1: 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
MCQ
19
MSQ
2

Updated

Official paper: IIT M DEGREE AN EXAM QDB3 01 Sep 2024 · No negative marking.

Question 1

+4 marksOne correct option

What is the main objective of reliability tests?

  1. A

    To determine if a system protects data and maintains security related functionality as intended.

  2. B

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

  3. C

    To determine the upper limit capacity of the system.

  4. D

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

Show answer

Correct answer

  • D

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

Question 2

+4 marksOne correct option

Which client-side testing needs to verify the inter-value constraints like credit card number and the expiry date?

  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

  • B

    Parameter level bypass testing

Question 3

+4 marksOne correct option
  1. A

    Relational operator replacement

  2. B

    Conditional operator replacement

  3. C

    Arithmetic operator replacement

  4. D

    Logical operator replacement

Show answer

Correct answer

  • A

    Relational operator replacement

Question 4

+4 marksOne correct option
  1. A

    3

  2. B

    4

  3. C

    7

  4. D

    24

Show answer

Correct answer

  • B

    4

Question 5

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

+5 marksOne correct option

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

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

Correct answer

  • D

Question 7

+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

  • D

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

Question 8

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

Correct answer

  • C

Question 9

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

Correct answer

  • D

Question 10

+5 marksOne correct option
  1. A

    Overriding method deletion (OMD)

  2. B

    Overriding method moving (OMM)

  3. C

    Parent constructor deletion (PCD)

  4. D

    Super keyword deletion (SKD):

Show answer

Correct answer

  • C

    Parent constructor deletion (PCD)

Question 11

+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

  • B

    State definition anomaly

Question 12

+5 marksOne or more correct options

Select all that apply.

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

Correct answers

  • A
  • D

Question 13

+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, 4, 5, 7]}

  4. D

    {[1, 2, 4, 5, 7], [1, 2, 3, 2, 3, 2, 4, 5, 6, 4, 5, 6, 4, 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, 4, 5, 7]}

  • D

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

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

  • C

Question 15

+4 marksOne correct option

Based on the above data, answer the given subquestions.

Identify the empty atomic section in the given code.

  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

  • C

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

  • B

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.

Identify the condition when a determines p.

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

Correct answer

  • A

Question 21

+6 marksOne correct option

Based on the above data, answer the given subquestions.

From the given options, identify one that covers all the RICC pairs for the clause a.

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

Correct answer

  • C