MauryaHub PYQ Practice

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]]
Source diagram or notation
  1. x = 5, y = 10
  2. x = 15, y = 10
  3. Both x = 5, y = 10 and x = 15, y = 10
  4. 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?
  1. Alpha testing
  2. Acceptance testing
  3. Smoke testing
  4. 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?
  1. Bottom-up
  2. Top-down
  3. Big bang
  4. 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]]
Source diagram or notation
  1. 2
  2. 3
  3. 4
  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?
Source diagram or notation
  1. 3
  2. 4
  3. 5
  4. 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?
  1. Factory Pattern
  2. Builder Pattern
  3. Facade Pattern
  4. 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?
  1. Interface Segregation Principle
  2. Dependency Inversion Principle
  3. Open-Closed Principle
  4. 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?
  1. Inheritance
  2. Composition
  3. Dependency
  4. 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?
  1. Functional cohesion
  2. Sequential cohesion
  3. Procedural cohesion
  4. 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?
  1. Sprint planning
  2. Sprint review
  3. Daily stand-up
  4. 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?
  1. It helps identify independent tasks that can be done in parallel
  2. It replaces the need for a Work Breakdown Structure
  3. It represents the estimated cost for each task
  4. 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?
  1. Probability: 20%, Impact: 2
  2. Probability: 80%, Impact: 3
  3. Probability: 50%, Impact: 4
  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?
  1. Flexibility and efficiency of use
  2. Familiar metaphors
  3. Consistency
  4. 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?
  1. Effectiveness
  2. Efficiency
  3. Learnability
  4. 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?
  1. Ensures performance optimization
  2. Clarifies vague requirements
  3. Tests final implementation
  4. Avoids need for feedback

A published solution is not available for this question yet.

Question 17 MCQ · 4.0 marks

[[IMAGE:aaec40966982886e_8_5]]
Source diagram or notation
  1. 1 and 3 is a functional, 2 is a nonfunctional requirement
  2. 1 and 2 are nonfunctional, 3 is a functional requirement
  3. 1 is a functional, 2 and 3 are nonfunctional requirements
  4. 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?
  1. Questionnaire
  2. Focus Group
  3. Observation
  4. 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?
  1. Requirement Gathering
  2. Testing
  3. Design
  4. 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?
  1. Platform as a Service (PaaS)
  2. Infrastructure as a Service (IaaS)
  3. Shared Hosting
  4. 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?
  1. Canary Deployment
  2. Blue-Green Deployment
  3. Version Deployment
  4. 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?
  1. Engineering Team
  2. Marketing Team
  3. Support Team
  4. 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?
  1. Notepad
  2. Vim
  3. Visual Studio Code
  4. 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?
  1. Input manipulation
  2. Forward tracing
  3. Backward tracing
  4. 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?
  1. Class Diagram
  2. Sequence Diagram
  3. Activity Diagram
  4. 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?
  1. Add → Commit → Push → Clone
  2. Clone → Modify → Add → Commit → Push
  3. Fork → Commit → Pull → Push
  4. Push → Clone → Add → Merge

A published solution is not available for this question yet.