Question 1
When applying logic criteria to programs, predicates are taken from which of the following statements.
for/while loops.
Variable assignment statements like a=5 or a=b+c.
Switch case statements.
If statements.
When applying logic criteria to programs, predicates are taken from which of the following statements.
for/while loops.
Variable assignment statements like a=5 or a=b+c.
Switch case statements.
If statements.
Consider the following CFG.
Consider the following CFG.
What is the number of prime paths for the above CFG?
5
6
7
8
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?
3
4
5
6
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.
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.
| Feature | Software Testing Quiz 2 20 Nov 2022 at a glance |
|---|---|
| Term | September 2022 term |
| Subject | Software Testing |
| Course code | BSCS3002 |
| Questions | 12 |
| Marks | 75 |
| Duration | 120 min |
| MSQ | 1 |
| MCQ | 11 |
| Official paper | IIT M DEGREE AN2 EXAM QPE1 20 Nov 2022 |
| Negative marking | No negative marking. |
| Updated |