cs3002_2025T3_Q1_NA.pdf
Software Testing · Quiz 1 · Sep 2025
← Course papers · Start practice / exam
Questions and published explanations below are available without starting a test. Some questions may not have a published solution yet.
Question 191 MCQ · 5.0 marks
In an organization, software testers always look for failures in the software product due to which
they have an adversarial relationship with the software developers. Considering this scenario,
identify the maximum process maturity level of this organization.
Level 1
Level 2
Level 3
Level 4
A published solution is not available for this question yet.
Question 192 MCQ · 5.0 marks
Consider the following statements and choose the correct option.
i) Prime path coverage subsumes node and edge coverage.
ii) Prime path coverage does not subsume edge-pair coverage.
Statement i) is correct and Statement ii) is incorrect.
Statement ii) is correct and Statement i) is incorrect.
Both statements are incorrect.
Both statements are correct.
A published solution is not available for this question yet.
Question 193 MCQ · 5.0 marks
Which of the following are required to create a test case?
Test inputs and actual outputs
Test inputs and expected outputs
Actual outputs and expected outputs
Test inputs only
A published solution is not available for this question yet.
Question 194 MCQ · 5.0 marks
Consider the following statements and choose the correct option.
i) In JUnit, each test is embedded into one test method.
ii) JUnit can be used for unit, integration as well as system testing.
Statement i) is correct and Statement ii) is incorrect.
Statement ii) is correct and Statement i) is incorrect.
Both statements are incorrect.
Both statements are correct.
A published solution is not available for this question yet.
Question 195 MCQ · 5.0 marks
A ____________ is a skeletal implementation of a software module, used to develop or test a
component that calls the stub or depends on it.
Fill in the blank with correct option.
test method
test driver
test stub
test suite
A published solution is not available for this question yet.
Question 196 MCQ · 5.0 marks
[[IMAGE:218f33a8a398cc4f_3_0]]

Shared memory interface
Procedure call interface
Message passing interface
External file interface
A published solution is not available for this question yet.
Question 197 MCQ · 5.0 marks
Consider the following statements regarding structural graph coverage criteria, and choose the
correct option.
i) A test path always begins with the initial vertex and ends in the final vertex.
ii) A prime path may contain cycles within it as a subpath.
iii) Complete path coverage may be feasible for some CFGs.
Statement i) and iii) are correct. Statement ii) is incorrect.
Statement i) is correct. Statement ii) and iii) are incorrect.
Statement ii) and iii) are correct. Statement i) is incorrect.
Statement i) and ii) are correct. Statement iii) is incorrect.
A published solution is not available for this question yet.
Question 198 MCQ · 5.0 marks
The ________ approach to integration testing does not require the use of test stubs or test drivers.
Fill in the blank with the correct option.
bottom-up
top-down
sandwich
big bang
A published solution is not available for this question yet.
Question 199 MCQ · 5.0 marks
Consider the following statement and fill in the blank(s) with the appropriate option.
In a maximal chain, the interior vertices have an indegree of i)___ and outdegree of ii)___.
i - 1, ii - 2
i - 0, ii - 2
i - 1, ii - 1
i - 1, ii - 0
A published solution is not available for this question yet.
Question 200 MCQ · 5.0 marks
[[IMAGE:218f33a8a398cc4f_4_1]]

[[IMAGE:218f33a8a398cc4f_5_2]]

[[IMAGE:218f33a8a398cc4f_5_3]]

[[IMAGE:218f33a8a398cc4f_5_4]]

[[IMAGE:218f33a8a398cc4f_5_5]]

A published solution is not available for this question yet.
Question 201 MCQ · 5.0 marks
[[IMAGE:218f33a8a398cc4f_5_6]]

[[IMAGE:218f33a8a398cc4f_5_7]]

[[IMAGE:218f33a8a398cc4f_5_8]]

[[IMAGE:218f33a8a398cc4f_5_9]]

[[IMAGE:218f33a8a398cc4f_5_10]]

A published solution is not available for this question yet.
Question 202 MCQ · 5.0 marks
Which of the following graph coverage criteria is equivalent to state coverage on a finite state
machine (FSM)?
Node coverage
Edge coverage
Edge-pair coverage
Prime path coverage
A published solution is not available for this question yet.
Question 203 MSQ · 5.0 marks
Which of the following types of testing methods are white box, i.e. require knowledge about the
internals of the program?
Unit Testing
Stress Testing
Integration Testing
Beta Testing
A published solution is not available for this question yet.
Question 204 MSQ · 5.0 marks
[[IMAGE:218f33a8a398cc4f_6_11]]
[[IMAGE:218f33a8a398cc4f_7_12]]


[[IMAGE:218f33a8a398cc4f_7_13]]

[[IMAGE:218f33a8a398cc4f_7_14]]

[[IMAGE:218f33a8a398cc4f_7_15]]

[[IMAGE:218f33a8a398cc4f_7_16]]

A published solution is not available for this question yet.
Question 205 MCQ · 5.0 marks
Consider the following control flow graph (CFG), and answer the subsequent questions.
[[IMAGE:218f33a8a398cc4f_8_17]]
How many test requirements are there for edge-pair coverage?

9
10
11
8
A published solution is not available for this question yet.
Question 206 MCQ · 5.0 marks
Consider the following control flow graph (CFG), and answer the subsequent questions.
[[IMAGE:218f33a8a398cc4f_8_17]]
How many test requirements are there for prime path coverage?

9
12
10
11
A published solution is not available for this question yet.
Question 207 MCQ · 5.0 marks
Consider the following control flow graph (CFG), and answer the subsequent questions.
[[IMAGE:218f33a8a398cc4f_8_17]]
What is the cyclomatic complexity of the given CFG?

3
4
5
6
A published solution is not available for this question yet.
Question 208 MCQ · 5.0 marks
Consider the following data flow graph, and answer the subsequent questions.
[[IMAGE:218f33a8a398cc4f_9_18]]
How many test requirements are there for All-Defs-Coverage for variable x?

1
2
3
4
A published solution is not available for this question yet.