Quiz Space

May 2024 term · Software Testing · BSCS3002

Software Testing Quiz 1: 7 July 2024, Set 2 (May 2024 term)

The IIT Madras BS Software Testing (Software Testing) Quiz 1 paper sat on 7 Jul 2024, in the May 2024 term, set 2: 22 questions for 104 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
22
Marks
104
Duration
120 min
MCQ
16
MSQ
3
Written
3

Updated

Official paper: IIT M DEGREE AN EXAM QDB2 7 July 2024 · No negative marking.

Question 1

+1 markOne correct option

THIS IS QUESTION PAPER FOR THE SUBJECT "DEGREE LEVEL : SOFTWARE TESTING (COMPUTER BASED EXAM)" ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT? CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN. (IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)

  1. A

    YES

  2. B

    NO

Show answer

Correct answer

  • A

    YES

Question 2

+5 marksOne correct option

Which type of testing is typically conducted after modifying or upgrading a software component to verify that the modified component is working correctly and other components are not damaged by the modification?

  1. A

    Functional testing

  2. B

    Performance testing

  3. C

    Usability testing

  4. D

    Regression testing

Show answer

Correct answer

  • D

    Regression testing

Question 3

+5 marksOne correct option

Consider an organization whose purpose in testing is to show the software’s failures. However, looking for failures is considered a negative activity, which puts testers and developers in an adversarial relationship. Determine the organization’s process maturity level based on its test goals.

  1. A

    Level 1

  2. B

    Level 2

  3. C

    Level 3

  4. D

    Level 4

Show answer

Correct answer

  • B

    Level 2

Question 4

+5 marksOne correct option
Figure from the original question paper
  1. A

    Tree edges

  2. B

    Back edges

  3. C

    Forward edges

  4. D

    Cross edges

Show answer

Correct answer

  • B

    Back edges

Question 5

+5 marksOne correct option
Figure from the original question paper
  1. A

    Parameter coupling

  2. B

    Shared data coupling

  3. C

    External device coupling

  4. D

    Message-passing interfaces

Show answer

Correct answer

  • B

    Shared data coupling

Question 6

+5 marksOne correct option
Figure from the original question paper
  1. A

    0

  2. B

    1

  3. C

    2

  4. D

    3

Show answer

Correct answer

  • B

    1

Question 7

+6 marksOne correct option
Figure from the original question paper
  1. A
    Figure from the original question paper
  2. B
    Figure from the original question paper
  3. C
    Figure from the original question paper
  4. D
    Figure from the original question paper
Show answer

Correct answer

  • C
    Figure from the original question paper

Question 8

+6 marksOne correct option
Figure from the original question paper
  1. A

    It accepts all strings that have only odd number of as.

  2. B

    It accepts all strings that have only even number of as.

  3. C

    It accepts all strings that have odd number of as and even number of bs.

  4. D

    It accepts all strings that have even number of as and odd number of bs.

Show answer

Correct answer

  • B

    It accepts all strings that have only even number of as.

Question 9

+6 marksOne correct option

Consider the prime path [1, 2, 4, 5] and a path P = [1, 2, 3, 2, 4, 2, 3, 4, 5]. From among the given options, identify the path with a detour but not a sidetrip.

  1. A

    [1, 2, 4, 2, 4, 5]

  2. B

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

  3. C

    [1, 2, 3, 4, 5]

  4. D

    [1, 2, 4, 5]

Show answer

Correct answer

  • C

    [1, 2, 3, 4, 5]

Question 10

+6 marksOne or more correct options
Figure from the original question paper
Figure from the original question paper

Select all that apply.

  1. A
    Figure from the original question paper
  2. B
    Figure from the original question paper
  3. C
    Figure from the original question paper
  4. D
    Figure from the original question paper
Show answer

Correct answers

  • B
    Figure from the original question paper
  • D
    Figure from the original question paper

Question 11

+6 marksOne or more correct options
Figure from the original question paper

Select all that apply.

  1. A
    Figure from the original question paper
  2. B
    Figure from the original question paper
  3. C
    Figure from the original question paper
  4. D
    Figure from the original question paper
Show answer

Correct answers

  • A
    Figure from the original question paper
  • B
    Figure from the original question paper

Question 12

+6 marksOne correct option

Based on the above data, answer the given subquestions.

Based on the above data, answer the given subquestions.

Determine the number of prime paths in the given CFG.

  1. A

    7

  2. B

    8

  3. C

    9

  4. D

    10

Show answer

Correct answer

  • C

    9

Question 13

+6 marksOne correct option

Based on the above data, answer the given subquestions.

Based on the above data, answer the given subquestions.

Determine the minimum number of test paths required for prime path coverage of the given CFG.

  1. A

    2

  2. B

    3

  3. C

    4

  4. D

    5

Show answer

Correct answer

  • C

    4

Question 14

+6 marksOne correct option

Based on the above data, answer the given subquestions.

Based on the above data, answer the given subquestions.

From the following code segments identify the one that is best presented by the given CFG.

  1. A
    Figure from the original question paper
  2. B
    Figure from the original question paper
  3. C
    Figure from the original question paper
  4. D
    Figure from the original question paper
Show answer

Correct answer

  • C
    Figure from the original question paper

Question 15

+6 marksOne correct option

Based on the above data, answer the given subquestions.

Based on the above data, answer the given subquestions.

What is the minimum number of test paths are required for node coverage for the given CFG?

  1. A

    1

  2. B

    2

  3. C

    3

  4. D

    4

Show answer

Correct answer

  • B

    2

Question 16

+5 marksOne correct option

Based on the above data, answer the given subquestions.

Based on the above data, answer the given subquestions.

What is the cyclomatic complexity for the given CFG?

  1. A

    2

  2. B

    3

  3. C

    4

  4. D

    5

Show answer

Correct answer

  • C

    4

Question 17

+5 marksOne correct option

Based on the above data, answer the given subquestions.

Based on the above data, answer the given subquestions.

How many du-pairs are there for the variable x?

  1. A

    7

  2. B

    8

  3. C

    9

  4. D

    10

Show answer

Correct answer

  • B

    8

Question 18

+6 marksOne correct option

Based on the above data, answer the given subquestions.

Based on the above data, answer the given subquestions.

How many unique du-paths are there for the variable x?

  1. A

    4

  2. B

    5

  3. C

    6

  4. D

    7

Show answer

Correct answer

  • B

    5

Question 19

+5 marksOne or more correct options
Figure from the original question paper

Select all that apply.

  1. A

    [1, 2, 4, 6]

  2. B

    [1, 2, 4, 5, 6]

  3. C

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

  4. D

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

Show answer

Correct answers

  • A

    [1, 2, 4, 6]

  • B

    [1, 2, 4, 5, 6]

  • C

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

Question 20

+1 markWritten answer

Based on the above data, answer the given subquestions.

Based on the above data, answer the given subquestions.
Show answer

A written answer, not marked automatically.

Question 21

+1 markWritten answer

Based on the above data, answer the given subquestions.

Based on the above data, answer the given subquestions.
Show answer

A written answer, not marked automatically.

Question 22

+1 markWritten answer

Based on the above data, answer the given subquestions.

Based on the above data, answer the given subquestions.
Show answer

A written answer, not marked automatically.