cs3002_2025T2_Q1_NA.pdf
Software Testing · Quiz 1 · May 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 18 MCQ · 5.0 marks
The following table lists some concepts from Software Testing.
[[IMAGE:03f931bc865e97b6_2_0]]
Match each term given in Column A with the related term given in Column B.

i - a, ii - b, iii - c, iv - d
i - d, ii - c, iii - b, iv - a
i - b, ii - c, iii - a, iv - d
i - d, ii - b, iii - c, iv - a
A published solution is not available for this question yet.
Question 19 MCQ · 5.0 marks
A mobile app sends a request over the network to the server, to retrieve results of students in a
particular subject, upon receiving the request, the server responds back with the results data for
that subject. In this scenario, which type of interface exists between the mobile app and the
server?
Shared memory interface
Message-passing interface
Procedure call interface
External file interface
A published solution is not available for this question yet.
Question 20 MCQ · 5.0 marks
In an organization, software developers and testers are cooperating with each other in order to
reduce risks in using the software product.
Considering this scenario, identify the minimum 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 21 MCQ · 5.0 marks
A software testing engineer performed various tests on a web application to ensure that users can
easily access and use the application user interface on different types of devices such as
smartphones, tablets, and desktop computers, all of which have different form factors and screen
sizes. Which of the following types of testing does this scenario represent?
Stress Testing
Usability Testing
Functional Testing
Performance Testing
A published solution is not available for this question yet.
Question 22 MCQ · 5.0 marks
Fill in the blank with the appropriate option.
_______________ deals with testing each linearly independent path in the CFG of the program.
Complexity testing
Basis path testing
Unit testing
Integration testing
A published solution is not available for this question yet.
Question 23 MCQ · 4.0 marks
Consider the following statements and choose the appropriate option.
i) A module or a component is a self-contained element of a system.
ii) Interfaces implement a mechanism for passing control and data between modules.
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 24 MCQ · 4.0 marks
Consider the following statements and choose the appropriate option.
i) Each du-path is a simple path, so prime path coverage subsumes all-du-paths coverage.
ii) All-du-paths coverage does not subsume edge 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 25 MCQ · 4.0 marks
Fill in the blank with the appropriate option.
_______________ is a software component or test tool that replaces a component that takes care of
the control and/or the calling of a software component.
Test driver
Test suite
Test method
Test stub
A published solution is not available for this question yet.
Question 26 MCQ · 4.0 marks
Fill in the blank with the appropriate option.
A path from node ni to nj is a _________ if no node appears more than once, except possibly the first
and last node.
simple path
test path
DD-path
def-clear path
A published solution is not available for this question yet.
Question 27 MCQ · 4.0 marks
Fill in the blank with the appropriate option.
A DD-path consists of a maximal chain of length __________.
equal to 1
equal to 2
greater than or equal to 1
at most 3
A published solution is not available for this question yet.
Question 28 MCQ · 6.0 marks
Consider the following statements regarding the approaches in integration testing:
i) In big bang approach, the entire system is tested as a whole.
ii) Sandwich approach uses a mix of top-down and bottom-up testing approaches.
iii) Top-down approach does not work well for systems with hierarchical design.
Choose the correct option.
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 29 MCQ · 6.0 marks
Complete path coverage on a CFG becomes infeasible due to which of the following reasons?
Due to presence of multiple branches
Due to presence of multiple terminal nodes
Due to presence of loops
Complete path coverage is always feasible
A published solution is not available for this question yet.
Question 30 MSQ · 6.0 marks
[[IMAGE:03f931bc865e97b6_7_1]]

testcase1()
testcase2()
testcase3()
testcase4()
A published solution is not available for this question yet.
Question 31 MCQ · 5.0 marks
Consider the CFG given below, and answer the subquestions.
[[IMAGE:03f931bc865e97b6_9_2]]
How many test requirements are there for edge-pair coverage?

12
11
9
10
A published solution is not available for this question yet.
Question 32 MCQ · 6.0 marks
Consider the CFG given below, and answer the subquestions.
[[IMAGE:03f931bc865e97b6_9_2]]
How many test requirements are there for prime path coverage?

8
6
3
10
A published solution is not available for this question yet.
Question 33 NAT · 5.0 marks
Consider the CFG given below, and answer the subquestions.
[[IMAGE:03f931bc865e97b6_9_2]]
What is the cyclomatic complexity of the given CFG?

A published solution is not available for this question yet.
Question 34 NAT · 5.0 marks
Consider the following data flow graph and answer the given subquestions.
[[IMAGE:03f931bc865e97b6_11_3]]
How many definitions are there for the variable **p**?

A published solution is not available for this question yet.
Question 35 NAT · 5.0 marks
Consider the following data flow graph and answer the given subquestions.
[[IMAGE:03f931bc865e97b6_11_3]]
How many uses are there for the variable **p**?

A published solution is not available for this question yet.
Question 36 NAT · 6.0 marks
Consider the following data flow graph and answer the given subquestions.
[[IMAGE:03f931bc865e97b6_11_3]]
How many du-pairs are there for the variable **p**?

A published solution is not available for this question yet.
Question 37 MCQ · 5.0 marks
Consider the following data flow graph and answer the given subquestions.
[[IMAGE:03f931bc865e97b6_11_3]]
Which of the following is not a def-clear path for variable **p**?

[2, 3, 5]
[2, 3, 4]
[2, 3, 4, 3, 5]
[6, 7, 6, 8]
**AI**
**Section Id :** 64065391696
**Section Number :** 3
**Section type :** Online
**Mandatory or Optional :** Mandatory
**Number of Questions :** 7
**Number of Questions to be attempted :** 7
**Section Marks :** 25
**Display Number Panel :** Yes
**Section Negative Marks :** 0
**Group All Questions :** No
**Enable Mark as Answered Mark for Review and**
No
**Clear Response :**
**Section Maximum Duration :** 0
A published solution is not available for this question yet.