cs3001_2026T1_Q2_NA.pdf
Software Engineering · Quiz 2 · Jan 2026
← 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 software feature has already been released. Developers observe that users are struggling with
the interface on a specific browser and release a patch to fix it.
This activity belongs to which phase?
Design
Development
Testing
Maintenance
A published solution is not available for this question yet.
Question 3 MCQ · 4.0 marks
Two developers are working on different modules of an e-commerce system. One developer
modifies a function’s parameters, causing the other developer’s code to break.
Which concept would have helped prevent this issue?
Unit testing
Interface definition
Acceptance testing
Code refactoring
A published solution is not available for this question yet.
Question 4 MCQ · 4.0 marks
Before releasing a banking application, the development team tests individual functions such as
“check balance” and “transfer money” in complete isolation.
What type of testing is being performed?
Integration testing
Acceptance testing
Unit testing
Beta testing
A published solution is not available for this question yet.
Question 5 MCQ · 4.0 marks
A student team begins coding a project immediately after an informal discussion with users. After
completion, they repeatedly modify the code to fix mismatches with user expectations.
This approach is best described as:
Build-and-fix programming
Waterfall model
Spiral model
Prototype model
A published solution is not available for this question yet.
Question 6 MCQ · 4.0 marks
A software team wants to collect answers to specific, well-defined questions from thousands of
geographically distributed sellers.
Which requirement-gathering technique is most appropriate?
Interviews
Focus groups
Observation
Questionnaires
A published solution is not available for this question yet.
Question 7 MCQ · 4.0 marks
Which of the following is a correct user story template as per BDD?
Feature–Role–Time
Input–Process–Output
Role–Feature–Benefit
Task–Module–Deadline
A published solution is not available for this question yet.
Question 8 MCQ · 4.0 marks
An e-commerce website allows returning customers to purchase items quickly by saving delivery
addresses and payment details.
This design primarily improves:
Effectiveness
Efficiency
Learnability
Safety
A published solution is not available for this question yet.
Question 9 MCQ · 4.0 marks
Multiple screens of a mobile application are drawn on paper, and switching between screens is
simulated manually during discussions with users.
Which prototyping technique is being used?
Storyboarding
Paper prototyping
Digital mock-ups
Coding a beta version
A published solution is not available for this question yet.
Question 10 MCQ · 4.0 marks
An e-commerce website allows users to browse products and check prices without requiring them
to log in.
Which heuristic for action does this design decision support?
Freedom
Flexibility
Recognition over recall
Consistency
A published solution is not available for this question yet.
Question 11 MCQ · 4.0 marks
A project has an initial COCOMO effort estimate of 20 person-months. After considering cost
drivers, the Effort Adjustment Factor (EAF) is 1.5.
What is the final estimated effort?
20 PM
25 PM
30 PM
35 PM
A published solution is not available for this question yet.
Question 12 MCQ · 4.0 marks
A person ensures that the development team delivers maximum value to the client and prioritizes
work considering business needs and technical constraints.
Which Scrum role is being described?
Scrum Master
Product Owner
Project Manager
Development Lead
A published solution is not available for this question yet.
Question 13 MCQ · 4.0 marks
A team completes 4 story points in one sprint. This value is used to predict future progress.
What is this value called?
Throughput
Capacity
Velocity
Burn rate
A published solution is not available for this question yet.
Question 14 MCQ · 4.0 marks
Several developers with critical expertise leave the organization midway through a project,
causing delays.
Which mitigation strategy BEST addresses this risk?
Reducing scope
Cross-training team members
Using third-party components
Increasing automation
A published solution is not available for this question yet.
Question 15 MCQ · 4.0 marks
A module performs a sequence of operations where each step depends on the previous one, but
all steps contribute to one main goal.
This is an example of:
Functional cohesion
Sequential cohesion
Coincidental cohesion
Temporal cohesion
A published solution is not available for this question yet.
Question 16 MCQ · 4.0 marks
If class Book inherits from class Product, which statement is true?
Book has-a Product
Book uses Product
Book is-a Product
Product is part of Book
A published solution is not available for this question yet.
Question 17 MCQ · 4.0 marks
Which UML diagram is used to model message exchanges over time among objects?
Class diagram
Sequence diagram
Activity diagram
Use-case diagram
A published solution is not available for this question yet.
Question 18 MCQ · 4.0 marks
A developer designs a [[IMAGE:6ac2f983e81be909_7_2]] class with private data like [[IMAGE:6ac2f983e81be909_7_3]] and [[IMAGE:6ac2f983e81be909_7_4]] , and allows access
only through methods such as [[IMAGE:6ac2f983e81be909_7_5]] and [[IMAGE:6ac2f983e81be909_7_6]] .
This describes which of the following object-oriented programming concepts?





Inheritance
Encapsulation
Association
Dependency
A published solution is not available for this question yet.
Question 19 MCQ · 4.0 marks
A team of 20 developers is working on a large web application. One developer commits faulty code
to the main branch that crashes the system. Other developers are unable to test their own
changes. The team wants to quickly revert to a stable version and identify who made the faulty
change.
Which feature of a Version Control System directly addresses this situation?
Branching
Version history tracking
Staging area
Distributed repositories
A published solution is not available for this question yet.
Question 20 MCQ · 4.0 marks
A banking application calculates interest. Due to a wrong formula in the code, the system
produces an incorrect interest amount for customers.
In the same banking application, the developer finds that the line
[[IMAGE:6ac2f983e81be909_8_7]]
was written instead of
[[IMAGE:6ac2f983e81be909_8_8]]
This incorrect line is an example of:


Failure
Fault
Error
Test case
A published solution is not available for this question yet.
Question 21 MCQ · 4.0 marks
A video-streaming application is functionally correct, but users complain that it is very slow when
playing high-resolution videos.
The development team wants to find out:
• Which functions consume the most CPU time
• Where memory usage is highest
• Which parts of the program are performance bottlenecks
Which debugging tool or technique should the team use?
Logging
Dump & Diff
Profiling Tool
Backward Debugging
A published solution is not available for this question yet.
Question 22 MCQ · 4.0 marks
A photo-editing application applies a series of transformations to an image: first resizing, then
filtering, then compression, and finally saving it to disk. Each stage takes input from the previous
stage and passes output to the next.
Which architecture best represents this system?
Client–server
Pipe-and-filter
Peer-to-peer
MVC
A published solution is not available for this question yet.
Question 23 MCQ · 4.0 marks
An e-commerce system performs the following steps when a customer places an order:
1. Create an Order
2. Notify the Seller
3. Call Packaging
4. Call Delivery
Originally, every client had to call all these classes in the correct sequence.
To simplify this, a new class [[IMAGE:6ac2f983e81be909_9_9]] was created with a method:
[[IMAGE:6ac2f983e81be909_9_10]]
This method internally creates all required objects and executes all steps in order.
Which design pattern is being used?


Adapter
Facade
Builder
Factory
A published solution is not available for this question yet.
Question 24 MCQ · 4.0 marks
A software company builds a system to process both physical books and e-books.
The interface [[IMAGE:6ac2f983e81be909_9_11]] contains the following methods:
• [[IMAGE:6ac2f983e81be909_9_12]]
• [[IMAGE:6ac2f983e81be909_9_13]]
• [[IMAGE:6ac2f983e81be909_9_14]]
• [[IMAGE:6ac2f983e81be909_9_15]]
The e-book module must implement [[IMAGE:6ac2f983e81be909_10_16]] and [[IMAGE:6ac2f983e81be909_10_17]] even though they do
nothing.
Which principle is violated?







Open–Closed Principle
Interface Segregation Principle
Liskov Substitution Principle
Dependency Inversion Principle
A published solution is not available for this question yet.
Question 25 MSQ · 4.0 marks
Which of the following are non-functional requirements?
(Select all that apply)
The system must display new products within 5 seconds
The system should behave consistently over time
The seller can update product prices
The system should recover from invalid input
A published solution is not available for this question yet.
Question 26 MSQ · 4.0 marks
Which of the following are characteristics of heuristic (model-based) estimation techniques?
(Select all that apply)
Use mathematical models
Relate effort to project size
Depend solely on expert intuition
Include models like COCOMO
A published solution is not available for this question yet.