Question 1
Which of the following graph coverage criteria is applicable to FSM (Finite State Machine) to execute every transition?
Node coverage
Edge coverage
Edge pair coverage
Data flow coverage

The IIT Madras BS Software Testing (Software Testing) Quiz 2 paper sat on 4 Aug 2024, in the May 2024 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.
Which of the following graph coverage criteria is applicable to FSM (Finite State Machine) to execute every transition?
Node coverage
Edge coverage
Edge pair coverage
Data flow coverage
Correct answer
Edge coverage
Consider an organization building a CCTV-based security application for domestic buildings, which requires the organization to find government rules and guidelines regarding the privacy of individual personnel. What type of requirement is this?
Business requirements
User requirements
Non-functional requirements
Regulatory requirements
Correct answer
Regulatory requirements
Which of the following is true about Conjunctive Normal Form (CNF)?
It consists of disjuncts connected by the conjunction operator.
It consists of conjuncts connected by the disjunction operator.
It consists of negations connected by the disjunction operator.
It consists of disjuncts connected by the disjunction operator.
Correct answer
It consists of disjuncts connected by the conjunction operator.
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
54
14
7
3
Correct answer
7
Correct answer
{18, 25, 48}
{18, 19, 25, 47, 48}
{17, 18, 25, 48, 49}
{17, 18, 19, 25, 47, 48, 49}
Correct answers
{17, 18, 25, 48, 49}
{17, 18, 19, 25, 47, 48, 49}
[1, 2, 4, 5]
[1, 3, 4, 6]
[1, 2, 4, 6]
[1, 3, 4, 5]
Correct answers
[1, 3, 4, 6]
[1, 3, 4, 5]
p is neither satisfiable nor a tautology.
p is satisfiable but not a tautology.
p is a tautology but not satisfiable.
p is satisfiable as well as tautology.
Correct answer
p is satisfiable but not a tautology.
Which of the integration testing approaches may use test stubs?
Top-down approach
Bottom-up approach
Sandwich approach
Big bang approach
Correct answers
Top-down approach
Sandwich approach
Based on the above data, answer the given subquestions.
With reference to the truth table row numbers (Row#) given, identify the one that covers all the CACC pairs for the clause a.
(1,5), (1,6), (1,8), (2,5), (2,6), (2,8), (4,5), (4,6), (4,8)
(1,5), (2,6), (4,8)
(5,7), (6,8)
(1,5)
Correct answer
(1,5), (1,6), (1,8), (2,5), (2,6), (2,8), (4,5), (4,6), (4,8)
Based on the above data, answer the given subquestions.
With reference to the truth table row numbers (Row#) given, identify the one that covers all the RACC pairs for the clause a.
(1,5), (1,6), (1,8), (2,5), (2,6), (2,8), (4,5), (4,6), (4,8)
(1,5), (2,6), (4,8)
(5,7), (6,8)
(1,5)
Correct answer
(1,5), (2,6), (4,8)
Based on the above data, answer the given subquestions.
With reference to the truth table row numbers (Row#) given, identify the one that covers all the RICC pairs for the clause a.
Correct answer
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.
{x = 1, y = 1}, {x = 0, y = 1}
{x = 1, y = 0}, {x = 0, y = 3}, {x = -1, y = -2}
{x = 1, y = 1}, {x = 1, y = 2}, {x = -1, y = -2}
{x = 1, y = 1}, {x = 1, y = -1}, {x = -1, y = -2}
Correct answer
{x = 1, y = 0}, {x = 0, y = 3}, {x = -1, y = -2}
Based on the above data, answer the given subquestions.
Correct answer
Based on the above data, answer the given subquestions.
Which of the following sets of test paths achieve(s) edge coverage, but not edge-pair coverage?
[1, 2, 4, 6, 7], [1, 2, 3, 5, 3, 6, 2, 3, 6, 7]
{[1, 2, 4, 6, 2, 4, 6, 7], [1, 2, 3, 5, 3, 6, 7]}
{[1, 2, 4, 6, 7], [1, 2, 3, 5, 3, 5, 3, 6, 2, 4, 6, 2, 3, 6, 7]}
{[1, 2, 3, 5, 3, 5, 3, 6, 2, 4, 6, 2, 4, 6, 2, 3, 5, 3, 6, 7], [1, 2, 3, 5, 3, 6, 7], [1, 2, 4, 6, 2, 3, 6, 2, 3, 6, 2, 3, 6, 7], [1, 2, 4, 6, 7], [1, 2, 3, 6, 7]}
Correct answers
[1, 2, 4, 6, 7], [1, 2, 3, 5, 3, 6, 2, 3, 6, 7]
{[1, 2, 4, 6, 2, 4, 6, 7], [1, 2, 3, 5, 3, 6, 7]}
Based on the above data, answer the given subquestions.
Which of the following sets of test paths achieve(s) edge coverage as well as edge-pair coverage?
[1, 2, 4, 6, 7], [1, 2, 3, 5, 3, 6, 2, 3, 6, 7]
{[1, 2, 4, 6, 2, 4, 6, 7][1, 2, 3, 5, 3, 6, 7]}
{[1, 2, 4, 6, 7], [1, 2, 3, 5, 3, 5, 3, 6, 2, 4, 6, 2, 3, 6, 7]}
{[1, 2, 3, 5, 3, 5, 3, 6, 2, 4, 6, 2, 4, 6, 2, 3, 5, 3, 6, 7], [1, 2, 3, 5, 3, 6, 7], [1, 2, 4, 6, 2, 3, 6, 2, 3, 6, 2, 3, 6, 7], [1, 2, 4, 6, 7], [1, 2, 3, 6, 7]}
Correct answers
{[1, 2, 4, 6, 7], [1, 2, 3, 5, 3, 5, 3, 6, 2, 4, 6, 2, 3, 6, 7]}
{[1, 2, 3, 5, 3, 5, 3, 6, 2, 4, 6, 2, 4, 6, 2, 3, 5, 3, 6, 7], [1, 2, 3, 5, 3, 6, 7], [1, 2, 4, 6, 2, 3, 6, 2, 3, 6, 2, 3, 6, 7], [1, 2, 4, 6, 7], [1, 2, 3, 6, 7]}