Quiz Space

Software Testing Quiz 2: 20 November 2022 (September 2022 term)

Question 1

+6 marksOne or more correct options

When applying logic criteria to programs, predicates are taken from which of the following statements.

Select all that apply.

  1. A

    for/while loops.

  2. B

    Variable assignment statements like a=5 or a=b+c.

  3. C

    Switch case statements.

  4. D

    If statements.

Question 2

+8 marksOne correct option

Consider the following CFG.

Consider the following CFG.
What is the number of prime paths for the above CFG?

  1. A

    5

  2. B

    6

  3. C

    7

  4. D

    8

Question 3

+8 marksOne correct option

Consider a software system that computes the monthly electricity charges for domestic usage. The input to the system is an integer that represents the units of electricity consumed, and the output is the electricity bill amount (a real value that is computed as the units consumed X unit charges).
The charge per unit is as follows:

Consider a software system that computes the monthly electricity charges for domestic usage. The input to the system is an integer that represents the units of electricity consumed, and the output is the electricity bill amount (a real value that is computed as the units consumed X unit charges).
The charge per unit is as follows:
What is the minimum number of test cases to be prepared for testing the software system using equivalence class partitioning technique?

  1. A

    3

  2. B

    4

  3. C

    5

  4. D

    6

9 more questions in this paper

Sign in with Google — it is free — to see every question with its answer and explanation, practise it in learning mode, or take it as a timed mock test.

More on the Software Testing Quiz 2 20 Nov 2022 paper

The IIT Madras BS Software Testing (Software Testing) Quiz 2 paper sat on 20 Nov 2022, in the September 2022 term: 12 questions for 75 marks in 120 minutes. The first 3 questions are below. Sign in with Google — it is free — to see the whole paper with its answers and explanations, in learning mode or as a timed mock test.

FeatureSoftware Testing Quiz 2 20 Nov 2022 at a glance
TermSeptember 2022 term
SubjectSoftware Testing
Course codeBSCS3002
Questions12
Marks75
Duration120 min
MSQ1
MCQ11
Official paperIIT M DEGREE AN2 EXAM QPE1 20 Nov 2022
Negative markingNo negative marking.
Updated

Same Quiz 2, other subjects

More Software Testing