Quiz Space

September 2024 term · Software Testing · BSCS3002

Software Testing End Term: 22 December 2024, Set QDB3 (September 2024 term)

The IIT Madras BS Software Testing (Software Testing) End Term paper sat on 22 Dec 2024, in the September 2024 term, set QDB3: 22 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
22
Marks
100
Duration
180 min
MCQ
17
MSQ
5

Updated

Official paper: IIT M DEGREE AN EXAM QDB3 22 Dec 2024 · No negative marking.

Question 1

+4 marksOne correct option

Match the following regarding performance testing.

  1. A

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

  2. B

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

  3. C

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

  4. D

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

Show answer

Correct answer

  • B

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

Question 2

+4 marksOne correct option

Which client-side testing needs to verify input values, especially those that could corrupt data and cause a security vulnerability?

  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

  • A

    Value level bypass testing

Question 3

+4 marksOne correct option
  1. A

    Simple link transition

  2. B

    Redirect transition

  3. C

    Form link transition

  4. D

    Operational transition

Show answer

Correct answer

  • A

    Simple link transition

Question 4

+4 marksOne correct option
  1. A

    4

  2. B

    7

  3. C

    8

  4. D

    48

Show answer

Correct answer

  • A

    4

Question 5

+5 marksOne correct option

Consider the following Java program.

  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 6

+5 marksOne correct option
  1. A

    Overloading Method Change (OMC)

  2. B

    Argument Number Change (ANC)

  3. C

    Argument Order Change (AOC)

  4. D

    Declared/Parameter Type Change (DTC/PTC)

Show answer

Correct answer

  • B

    Argument Number Change (ANC)

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

    [1, 2, 3]

  2. B

    [1, 2, 3, 6]

  3. C

    [1, 2, 3, 4, 5]

  4. D

    [4, 5, 2, 6]

Show answer

Correct answer

  • C

    [1, 2, 3, 4, 5]

Question 9

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

Correct answer

  • C

Question 10

+4 marksOne or more correct options

Which of the following are true about software quality control activities?

Select all that apply.

  1. A

    The activities establish and evaluate the processes that produce products.

  2. B

    The activities focus on determining the defects in the actual products produced.

  3. C

    Involves product-focused action.

  4. D

    Involves process-focused action.

Show answer

Correct answers

  • B

    The activities focus on determining the defects in the actual products produced.

  • C

    Involves product-focused action.

Question 11

+4 marksOne or more correct options

Which of the following predicate(s) is/are in Conjunctive Normal Form (CNF) ?

Select all that apply.

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

Correct answers

  • B
  • D

Question 12

+5 marksOne or more correct options

Consider test-driven development (TDD) for a web portal for university students. The students can download their marksheet, certificates, etc. by entering their roll number. One of the user stories of the web portal is “Roll number validation: Invalid number of digits entered can be verified.” Below are the test cases for the “Roll number validation” user story.

Which of the following are the appropriate implementations for the user story?

Select all that apply.

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

Correct answers

  • B
  • C

Question 13

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

+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

  • D

Question 15

+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

  • A

Question 16

+5 marksOne correct option

Based on the above data, answer the given subquestions.

With reference to the truth table row numbers (Row#) given in the main data, which of the following is a valid RACC pair for clause a?

  1. A

    (1, 8)

  2. B

    (3, 7)

  3. C

    (2, 6)

  4. D

    (4, 8)

Show answer

Correct answer

  • D

    (4, 8)

Question 17

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

Correct answer

  • C

Question 18

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

Correct answer

  • A

Question 19

+4 marksOne correct option
  1. A

    TRUE

  2. B

    FALSE

Show answer

Correct answer

  • A

    TRUE

Question 20

+5 marksOne or more correct options

Based on the above data, answer the given subquestions.

We have computed some of the prime paths, which are as follows:
1. [1, 2, 4, 5, 6],
2. [3, 2, 4, 5, 6],
3. [1, 2, 4, 6],
4. [1, 2, 3],
5. [3, 2, 3].
Identify the missing prime path(s).

Select all that apply.

  1. A

    [2,3,2]

  2. B

    [2, 3, 4, 6]

  3. C

    [3,2,4,6]

  4. D

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

Show answer

Correct answers

  • A

    [2,3,2]

  • C

    [3,2,4,6]

Question 21

+5 marksOne or more correct options

Based on the above data, answer the given subquestions.

Consider the set of test paths {[1, 2, 4, 5, 6], [1, 2, 3, 2, 4, 6]}. Which of the following statements is/are true about satisfying the coverage criteria on CFG G?

Select all that apply.

  1. A

    It satisfies node coverage.

  2. B

    It satisfies edge coverage.

  3. C

    It satisfies edge-pair coverage.

  4. D

    It satisfies prime path coverage.

Show answer

Correct answers

  • A

    It satisfies node coverage.

  • B

    It satisfies edge coverage.

Question 22

+4 marksOne correct option

Based on the above data, answer the given subquestions.

What is the cyclomatic complexity of the CFG G?

  1. A

    2

  2. B

    3

  3. C

    4

  4. D

    5

Show answer

Correct answer

  • C

    4