cs3001_2025T3_Q2_NA.pdf
Software Engineering · Quiz 2 · 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 2 MCQ · 4.0 marks
A company is developing an Online Food Delivery System (OFDS). Different users and systems
interact with OFDS in various ways. Identify the type of client in each case.
1. A customer orders food from a restaurant using the OFDS mobile app.
2. The restaurant staff updates menu items and prices through the OFDS portal.
3. The payment gateway processes the customer’s payment for the order.
4. The delivery tracking module communicates with the restaurant’s order management
system to update order status.
Which of the following correctly matches the type of client for each case?
1 → External user, 2 → Internal user, 3 → Software client, 4 → Software client
1 → Internal user, 2 → External user, 3 → Software client, 4 → Internal user
1 → External user, 2 → Software client, 3 → Internal user, 4 → Software client
1 → Software client, 2 → External user, 3 → Internal user, 4 → Internal user
A published solution is not available for this question yet.
Question 3 MCQ · 4.0 marks
A ride-hailing company has completed the development of a fare estimation feature. Internal
testers simulate trips and detect issues before release. Later, the company releases the feature to
selected users to get real-world feedback.
Which testing phases do these correspond to?
Integration testing → Beta testing
Alpha testing → Beta testing
Unit testing → Integration testing
Beta testing → Alpha testing
A published solution is not available for this question yet.
Question 4 MSQ · 4.0 marks
In a distributed software development project, multiple teams work on different modules. Each
module exposes an interface to allow other teams to interact with it.
From the following statements, which one(s) correctly describe the purpose of an interface
definition?
It specifies what actions a function or module can perform.
It explains how the function or module is implemented internally.
It defines the allowed inputs, requests, and format of the outputs.
Once the interface is defined, the underlying implementation can change
without affecting other modules.
A published solution is not available for this question yet.
Question 5 MSQ · 4.0 marks
A team is building a mobile banking app. The exact requirements are unclear, so they build a
prototype with limited functionality and share it with the client for feedback before building the
full system.
Which of the following are advantages of using a prototype model?
Helps clients understand what they actually need.
Reduces development cost because prototypes are always used in production.
Helps developers identify technical issues and improve design before full
development.
Ensures all bugs are caught before the final system is built.
A published solution is not available for this question yet.
Question 6 MSQ · 4.0 marks
You are developing features for the sales summary module of the seller portal. Different
industries have different priorities: mobile sales teams care about launch day sales, whereas
furniture sales teams care about 30-day sales trends.
Why might you conduct focus groups with sales managers from different industries?
(More than one answer may be correct)
To gain consensus on common requirements across industries.
To highlight conflicts or differences between stakeholder needs.
To observe how users perform tasks in their natural setting.
To get detailed regulatory information from banks.
A published solution is not available for this question yet.
Question 7 MCQ · 4.0 marks
Consider the following two requirements:
Requirement 1: The mobile banking app must complete a fund transfer transaction within 3
seconds.
Requirement 2: The mobile banking app must allow users to view their account balance and
transaction history.
Which of the following statements is true?
Requirement 1 is a functional requirement, whereas Requirement 2 is a non-
functional requirement.
Requirement 2 is a functional requirement, whereas Requirement 1 is a non-
functional requirement.
Both requirements are functional requirements.
Both the requirements are non-functional requirements.
A published solution is not available for this question yet.
Question 8 MCQ · 4.0 marks
Consider the user story given below for a **ride-sharing app** and answer the question.
Feature: Find nearby drivers
As a rider,
I want to search for available drivers
so that I can see driver details, estimated fare and arrival time within a reasonable time.
The results must be displayed with clear sorting and filtering options.
Now consider the following improvement in the user story. The phrase
so that I can see driver details, estimated fare and arrival time within a reasonable time.
is modified as:
so that I can see driver details, estimated fare and arrival time within 4 seconds.
It makes the user story more **__________**.
Specific
Measurable
Achievable
Relevant
Timeboxed
A published solution is not available for this question yet.
Question 9 MCQ · 4.0 marks
A hospital management system introduces a new appointment booking interface. Users complain
that it takes them a long time to figure out how to add or delete a patient record, and no tutorial
or guided steps are provided.
Which usability goal is not satisfied?
Learnability
Memorability
Effectiveness
Efficiency
A published solution is not available for this question yet.
Question 10 MCQ · 4.0 marks
During a client meeting, the UX designer presents hand-drawn sketches of different screens on
paper to demonstrate navigation flow. The client suggests some changes, which the designer
applies immediately.
Which type of prototype is being used?
Storyboard
Paper prototype
Interactive prototype
Digital mock-up
A published solution is not available for this question yet.
Question 11 MCQ · 4.0 marks
A new user opens a document editor and navigates menus to copy text, while an experienced user
immediately uses Ctrl+C. Which design heuristic is being demonstrated?
Recognition over recall
Flexibility
Freedom
Providing help
A published solution is not available for this question yet.
Question 12 MCQ · 4.0 marks
A development team is creating a new e-commerce platform. They group related functionalities
like inventory management, payment processing, and catalog management into separate
modules. What aspect of the design process is being demonstrated?
Interfaces
Components
Algorithms
Data structures
A published solution is not available for this question yet.
Question 13 MCQ · 4.0 marks
Module M1 directly modifies variables inside module M2 by referencing its internal implementation.
What is this type of coupling?
Data coupling
Common coupling
Content coupling
Control coupling
A published solution is not available for this question yet.
Question 14 MCQ · 4.0 marks
A developer changes code in one module, and multiple other modules start failing due to
dependencies. Which issue does this illustrate?
Poor data cohesion
High coupling
High cohesion
Good modular design
A published solution is not available for this question yet.
Question 15 MSQ · 4.0 marks
Consider the class diagram given below.
[[IMAGE:109ca503e4efd916_8_0]]
Which of the following is/are true about the class diagram?

There is an association relation between Customer and Order.
There is a composition relation between Order and Item.
There is an inheritance relation between Order and ExpressOrder.
There is an aggregation relation between Customer and Order.
There is a composition relation between Customer and Order.
There is an inheritance relation between Item and Order.
A published solution is not available for this question yet.
Question 16 MCQ · 4.0 marks
Which debugging strategy involves tracing the flow of execution from the beginning of the
program to identify where the output deviates from expectations?
Forward debugging
Backward debugging
Input manipulation strategy
Black-box debugging
A published solution is not available for this question yet.
Question 17 MCQ · 4.0 marks
A developer has written the following Python function to compute the factorial of a number:
def factorial(n):
if n < 0:
return None
elif n == 0 or n == 1:
return 1
else:
result = 1
for i in range(2, n + 1):
result *= i
return result
What is the cyclomatic complexity of this function?
2
3
4
5
A published solution is not available for this question yet.
Question 18 MCQ · 4.0 marks
A developer is working on a branch feature1 while another developer fixes a bug in branch issueP and
merges it into the master. The developer now needs to use a function (fun1) added in the bug-fix
branch, inside feature1.
Which Git command should be used before merging, to bring the latest changes from master into
feature1?
git fetch master
git pull origin feature1
git rebase master
git clone master
A published solution is not available for this question yet.
Question 19 MCQ · 4.0 marks
A compiler processes source code into assembly and then an executable file. Each step transforms
data and passes it to the next stage. Which architectural style best describes this system?
Peer-to-Peer
Model-View-Controller
Pipe and Filter
Client-Server
A published solution is not available for this question yet.
Question 20 MCQ · 4.0 marks
A developer is designing a software system for a marketplace. There are multiple delivery types:
physical shipment, email delivery, and instant download.
Which of the following is a key advantage of applying the Interface Segregation Principle in this
scenario?
Clients are forced to implement all delivery methods, ensuring consistency.
Each client implements only the methods relevant to its delivery type, avoiding
meaningless implementations.
Interfaces are removed entirely, and all functionality is placed in one
monolithic class.
It reduces the number of classes in the system.
A published solution is not available for this question yet.
Question 21 MCQ · 4.0 marks
You are designing a Book class with mandatory fields (ISBN, title, cost) and optional fields (author,
published year, description). Using multiple constructors to handle every combination of fields
leads to telescoping constructors.
Which design pattern would best solve this problem?
Factory Pattern
Builder Pattern
Adapter Pattern
Facade Pattern
A published solution is not available for this question yet.
Question 22 MSQ · 4.0 marks
In a sprint planning meeting, which of the following are true?
The team decides what work can be completed in the sprint
Only the product owner decides which user stories are included
The team discusses how the selected work will be implemented
Sprint planning is time-boxed
A published solution is not available for this question yet.
Question 23 MSQ · 4.0 marks
Consider a Work Breakdown Structure (WBS) for a project with root node "Amazon Seller Portal"
and leaf nodes such as "Component Diagram," "Database Schema," and "User Interface."
Which of the following statements are correct about WBS?
WBS breaks down project activities into smaller tasks
Each leaf node represents a task that can be assigned to a developer
Dependencies between tasks are explicitly represented in the WBS
WBS is structured like a tree with the project as the root
A published solution is not available for this question yet.
Question 24 MCQ · 4.0 marks
[[IMAGE:109ca503e4efd916_12_1]]

R1
R2
R3
All equally
A published solution is not available for this question yet.