Question 1
1-C, 2-B, 3-A
1-C, 2-A, 3-B
1-B, 2-A, 3-C
1-B, 2-C, 3-A

The IIT Madras BS Software Testing (Software Testing) Quiz 2 paper sat on 16 Mar 2025, in the January 2025 term: 18 questions for 100 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.
1-C, 2-B, 3-A
1-C, 2-A, 3-B
1-B, 2-A, 3-C
1-B, 2-C, 3-A
Correct answer
1-B, 2-C, 3-A
What type of software requirements specify the expected behaviors and relationships between the inputs and outputs of a system?
User requirements
Functional requirements
Non-functional requirements
Regulatory requirements
Correct answer
Functional requirements
Shared data coupling
Parameter coupling
External device coupling
Message-passing interfaces
Correct answer
Parameter coupling
3
4
5
6
Correct answer
5
CNF: 3, DNF: 1, 4, None: 2
CNF: 1, 4, DNF: 3, None: 2
CNF: 2, 3, DNF: 1, 4
CNF: 1, DNF: 3, None: 2, 4
Correct answer
CNF: 3, DNF: 1, 4, None: 2
A software system calculates shipping charges based on the weight of a package using the following rules:
• If the weight is 1 to 5 kg, the shipping charge is Rs 10.
• If the weight is 6 to 20 kg, the shipping charge is Rs 20.
• If the weight is 21 to 50 kg, the shipping charge is Rs 50.
• If the weight is above 50 kg, the shipping charge is Rs 100.
How many equivalence class partitions can be identified in the given scenario?
4
5
6
7
Correct answer
5
All-defs coverage
All-uses coverage
All du-paths coverage
None of these
Correct answer
All-defs coverage
Correct answer
Correct answer
{44, 45, 50, 100, 101}
{44, 45, 46, 50, 100}
{45, 60, 70, 80, 100}
{44, 45, 46, 50, 99, 100, 101}
Correct answers
{44, 45, 50, 100, 101}
{44, 45, 46, 50, 99, 100, 101}
Based on the above data, answer the given subquestions.
With reference to the truth table row numbers (Row#), identify the one that covers all the RACC pairs for the clause a.
(3,7), (3,8), (4,7), (4,8)
(3,7), (4,8)
(1,3), (2,4)
No feasible pairs for P = T and (1,5), (1,6), (2,5), (2,6) for P = F
Correct answer
(3,7), (4,8)
Based on the above data, answer the given subquestions.
With reference to the truth table row numbers (Row#), identify the one that covers all the RICC pairs for the clause a.
(3,7), (3,8), (4,7), (4,8)
No feasible pairs for P = T and (1,5), (1,6), (2,5), (2,6) for P = F
(3,4) for P = T and (1,2), (5,6), (7,8) for P = F
No feasible pairs for P = T and (1,5), (2,6) for P = F
Correct answer
No feasible pairs for P = T and (1,5), (2,6) for P = F
Based on the above data, answer the given subquestions.
Correct answer
Based on the above data, answer the given subquestions.
From among the following, identify the set of concrete test inputs that execute all the instances of symbolic execution.
Correct answer
Based on the above data, answer the given subquestions.
Correct answer
Based on the above data, answer the given subquestions.
Correct answer
Based on the above data, answer the given subquestions.
Identify the set of test paths that provide edge-pair coverage?
{[1,3,4,3,4,3,5]}
{[1,2,5], [1,3,4,3,4,3,5]}
{[1,2,5], [1,3,5], [1,3,4,3,4,3,5]}
{[1,2,5], [1,3,5], [1,3,4,3,5]}
Correct answer
{[1,2,5], [1,3,5], [1,3,4,3,4,3,5]}
Based on the above data, answer the given subquestions.
What is the cyclomatic complexity of the given CFG?
3
4
5
6
Correct answer
3