cs3001_2025T3_ET_FN.pdf
Software Engineering · End Term · Sep 2025 FN
← 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
Which of the following test cases ensures branch coverage for the Python code given below?
[[IMAGE:aaec40966982886e_2_2]]

x = 5, y = 10
x = 15, y = 10
Both x = 5, y = 10 and x = 15, y = 10
Only when x = y
A published solution is not available for this question yet.
Question 3 MCQ · 4.0 marks
Which type of testing is carried out by the customer to decide whether to approve the product?
Alpha testing
Acceptance testing
Smoke testing
System testing
A published solution is not available for this question yet.
Question 4 MCQ · 4.0 marks
Which testing approach allows early testing of the main logic, even if the low-level modules are
not yet implemented?
Bottom-up
Top-down
Big bang
Mixed
A published solution is not available for this question yet.
Question 5 MCQ · 4.0 marks
What is the cyclomatic complexity of the following Python function?
[[IMAGE:aaec40966982886e_3_3]]

2
3
4
5
A published solution is not available for this question yet.
Question 6 MCQ · 4.0 marks
Consider the following Python function:
[[IMAGE:aaec40966982886e_4_4]]
From a blackbox testing perspective, how many input equivalence classes are appropriate for
testing this function?

3
4
5
6
A published solution is not available for this question yet.
Question 7 MCQ · 4.0 marks
You are building a complex product object in the seller onboarding process. A SellerProfile object
requires many optional parameters such as GST number, website, alternate contact, and
warehouse list. You want to allow a flexible and readable way to construct such objects without
passing all parameters in a constructor.
Which pattern best supports this requirement?
Factory Pattern
Builder Pattern
Facade Pattern
Adapter Pattern
A published solution is not available for this question yet.
Question 8 MCQ · 4.0 marks
A DiscountCalculator class applies discount rules for Regular and Premium customers using a switch
statement. Now, to add a new customer type VIP, the developer modifies the same method to add
another case block.
Which SOLID principle is being violated?
Interface Segregation Principle
Dependency Inversion Principle
Open-Closed Principle
Liskov Substitution Principle
A published solution is not available for this question yet.
Question 9 MCQ · 4.0 marks
A software module defines an interface PaymentMethod. Another class UPIPayment implements this
interface.
What kind of relationship does UPIPayment have with PaymentMethod?
Inheritance
Composition
Dependency
Aggregation
A published solution is not available for this question yet.
Question 10 MCQ · 4.0 marks
In a poorly designed legacy system, a module includes unrelated functions like loginUser(),
calculateTax(), and sendEmail(). These functions do not share data or purpose.
What type of cohesion does this module likely have?
Functional cohesion
Sequential cohesion
Procedural cohesion
Coincidental cohesion
A published solution is not available for this question yet.
Question 11 MSQ · 4.0 marks
Which of the following activities occur after a sprint is completed?
Sprint planning
Sprint review
Daily stand-up
Sprint retrospective
A published solution is not available for this question yet.
Question 12 MSQ · 4.0 marks
Which of the following are true regarding an Activity Network?
It helps identify independent tasks that can be done in parallel
It replaces the need for a Work Breakdown Structure
It represents the estimated cost for each task
It visually shows task dependencies and durations
A published solution is not available for this question yet.
Question 13 MCQ · 4.0 marks
A project manager prepares a risk table with probabilities and numerical impact levels for each
identified risk. Which of the following combinations would receive the highest priority?
Probability: 20%, Impact: 2
Probability: 80%, Impact: 3
Probability: 50%, Impact: 4
Probability: 90%, Impact: 3
A published solution is not available for this question yet.
Question 14 MCQ · 4.0 marks
A banking app places the "Transfer Money" button in the same position across the dashboard,
accounts, and payments screens, using the same label and icon each time.
Which heuristic is best demonstrated in this design?
Flexibility and efficiency of use
Familiar metaphors
Consistency
Visibility of system status
A published solution is not available for this question yet.
Question 15 MCQ · 4.0 marks
A project management app uses intuitive icons, consistent layouts, and familiar menu structures
so that returning users can quickly resume work after a gap. Which usability goal does this reflect?
Effectiveness
Efficiency
Learnability
Memorability
A published solution is not available for this question yet.
Question 16 MCQ · 4.0 marks
During a design meeting, a product owner is unclear about a feature's purpose. The designer
draws a simple sketch of a UI and explains how the user will interact with it. What benefit of
prototyping does this illustrate?
Ensures performance optimization
Clarifies vague requirements
Tests final implementation
Avoids need for feedback
A published solution is not available for this question yet.
Question 17 MCQ · 4.0 marks
[[IMAGE:aaec40966982886e_8_5]]

1 and 3 is a functional, 2 is a nonfunctional requirement
1 and 2 are nonfunctional, 3 is a functional requirement
1 is a functional, 2 and 3 are nonfunctional requirements
1 and 2 are functional, 3 is a nonfunctional requirement
A published solution is not available for this question yet.
Question 18 MCQ · 4.0 marks
The mobile sales team wants daily sales summaries, while the furniture department prefers 30-
day summaries. You identify this difference while conducting a joint session with multiple
stakeholders.
What requirement gathering technique is this?
Questionnaire
Focus Group
Observation
Structured Interview
A published solution is not available for this question yet.
Question 19 MCQ · 4.0 marks
A team of developers begins coding a complex online payment system without discussing a
common structure. One developer modifies a function signature without informing others,
breaking multiple components dependent on that function.
Which phase was likely skipped or inadequately done?
Requirement Gathering
Testing
Design
Maintenance
A published solution is not available for this question yet.
Question 20 MCQ · 4.0 marks
A research institute wants to deploy a high-performance computing web application. It requires
maximum speed, full system control, and does not mind paying a high upfront cost.
Which hosting option is most appropriate for their needs?
Platform as a Service (PaaS)
Infrastructure as a Service (IaaS)
Shared Hosting
Bare Metal Server
A published solution is not available for this question yet.
Question 21 MCQ · 4.0 marks
Your team deploys a major update to a new server setup. If anything breaks, they want to
instantly switch all users back to the older version.
Which deployment strategy enables this type of rollback?
Canary Deployment
Blue-Green Deployment
Version Deployment
Shadow Deployment
A published solution is not available for this question yet.
Question 22 MCQ · 4.0 marks
A software company is planning to launch a new product. Before development begins, the team
needs to identify the target audience and understand what features would add the most value.
Which team is primarily responsible for this task?
Engineering Team
Marketing Team
Support Team
Legal Team
A published solution is not available for this question yet.
Question 23 MCQ · 4.0 marks
Ananya is developing a Python-based web application. She wants a tool that not only allows her to
write code but also helps her with syntax checking, renaming variables across the project, and
locating function usage. Which of the following tools is most suitable for her?
Notepad
Vim
Visual Studio Code
Python interpreter
A published solution is not available for this question yet.
Question 24 MCQ · 4.0 marks
You see unexpected behavior in a GUI application and trace the function calls and state transitions
starting from the button click that triggered the event.
Which debugging strategy is most appropriate?
Input manipulation
Forward tracing
Backward tracing
Blackbox debugging
A published solution is not available for this question yet.
Question 25 MCQ · 4.0 marks
Your system supports an "Add to Cart and Purchase" workflow. To model how different objects
interact during this process, which UML diagram would be most appropriate?
Class Diagram
Sequence Diagram
Activity Diagram
Component Diagram
A published solution is not available for this question yet.
Question 26 MCQ · 4.0 marks
Imagine you're joining a new open-source project hosted on GitHub. You want to make some
improvements in the codebase and share your changes with the rest of the team. Starting from
scratch, what is the correct order of steps you should follow to make changes locally and push
them to the remote repository?
Add → Commit → Push → Clone
Clone → Modify → Add → Commit → Push
Fork → Commit → Pull → Push
Push → Clone → Add → Merge
A published solution is not available for this question yet.