MauryaHub PYQ Practice

Software Engineering · End Term · Sep 2025 · AN

Software Engineering · End Term · Sep 2025 AN

← 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.

0 / 25 published solutions

Question 2 MCQ · 4.0 marks

Which of the following test cases ensures branch coverage for the Python code given below?
Source diagram or notation
6406536034388.
{-10, 110}
6406536034389.
{50, 90}
6406536034390.
{0, 100}
6406536034391.
{-10, 50}

A published solution is not available for this question yet.

Report a correction for Q2

Question 3 MCQ · 4.0 marks

What is the cyclomatic complexity of the following Python function?
Source diagram or notation
6406536034392.
2
6406536034393.
3
6406536034394.
4
6406536034395.
5

A published solution is not available for this question yet.

Report a correction for Q3

Question 4 MCQ · 4.0 marks

Consider the following Python function:
Source diagram or notation
From a black-box testing perspective, how many input equivalence classes are appropriate for testing this function?
6406536034396.
5
6406536034397.
6
6406536034398.
7
6406536034399.
8

A published solution is not available for this question yet.

Report a correction for Q4

Question 5 MCQ · 4.0 marks

You are building a logistics module for an e-commerce platform. Depending on the delivery location, you must use different delivery partners like BlueDart, Delhivery, or Ekart. The logic to choose the partner is based on pin code and priority, and this choice should be encapsulated so the client code doesn’t have to instantiate the correct partner explicitly. Which design pattern should be used to decouple the client from the instantiation logic?
6406536034400.
Strategy Pattern
6406536034401.
Factory Pattern
6406536034402.
Builder Pattern
6406536034403.
Adapter Pattern

A published solution is not available for this question yet.

Report a correction for Q5

Question 6 MCQ · 4.0 marks

You have a base class Document with a method print(). A derived class EncryptedDocument throws an exception when print() is called because it must first be decrypted. Which SOLID principle is violated in this scenario?
6406536034404.
Single Responsibility Principle
6406536034405.
Liskov Substitution Principle
6406536034406.
Open-Closed Principle
6406536034407.
Interface Segregation Principle

A published solution is not available for this question yet.

Report a correction for Q6

Question 7 MCQ · 4.0 marks

In an online seller portal, the Product class includes common attributes like name, cost, and category. Subclasses like Electronics, Books, and Clothing extend Product by adding specific attributes. Which object-oriented concept does this MOST closely illustrate?
6406536034408.
Inheritance
6406536034409.
Composition
6406536034410.
Abstraction
6406536034411.
Association

A published solution is not available for this question yet.

Report a correction for Q7

Question 8 MSQ · 4.0 marks

An OrderProcessing module first checks if a user is logged in, then verifies cart items, and finally calculates total cost—all as a single process. What is the most likely cohesion type?
6406536034412.
Functional cohesion
6406536034413.
Communicational cohesion
6406536034414.
Procedural cohesion
6406536034415.
Coincidental cohesion

A published solution is not available for this question yet.

Report a correction for Q8

Question 9 MSQ · 4.0 marks

Which of the following statements about the product backlog are correct?
6406536034416.
It is a prioritized list of tasks derived from user stories
6406536034417.
It is fixed at the start of the project and cannot be changed
6406536034418.
It is collaboratively refined during sprint planning
6406536034419.
It is maintained by the Scrum Master

A published solution is not available for this question yet.

Report a correction for Q9

Question 10 MSQ · 4.0 marks

Which of the following are true about Gantt Charts?
6406536034420.
Each bar represents an employee's working hours
6406536034421.
The length of a bar represents task duration
6406536034422.
Gantt charts show task dependencies through arrows
6406536034423.
Gantt charts visually represent the schedule of tasks over time

A published solution is not available for this question yet.

Report a correction for Q10

Question 11 MCQ · 4.0 marks

Source diagram or notation
6406536034424.
Negligible
6406536034425.
Marginal
6406536034426.
Critical
6406536034427.
Catastrophic

A published solution is not available for this question yet.

Report a correction for Q11

Question 12 MCQ · 4.0 marks

An e-commerce website allows users to browse product categories, view product details, and compare items without requiring login. Only at the checkout stage are users asked to sign in or create an account. Which design heuristic is being followed in this scenario?
6406536034428.
Recognition over recall
6406536034429.
Error prevention
6406536034430.
Freedom
6406536034431.
Flexibility

A published solution is not available for this question yet.

Report a correction for Q12

Question 13 MCQ · 4.0 marks

A photo-editing software introduces a step-by-step guide when a new user opens the app for the first time, showing how to apply filters and save images. This feature supports:
6406536034432.
Memorability
6406536034433.
Safety
6406536034434.
Learnability
6406536034435.
Effectiveness

A published solution is not available for this question yet.

Report a correction for Q13

Question 14 MCQ · 4.0 marks

A startup jumps straight into coding a mobile app based on initial requirements, but later learns users are unhappy with the interface. Which of the following would have helped them avoid this?
6406536034436.
Conducting user interviews before starting development
6406536034437.
Writing detailed code documentation
6406536034438.
Creating and testing low-fidelity prototypes
6406536034439.
Hiring a UI developer before starting

A published solution is not available for this question yet.

Report a correction for Q14

Question 15 MCQ · 4.0 marks

Source diagram or notation
6406536034440.
1 and 3 are functional requirements, 2 is a nonfunctional requirement
6406536034441.
1 and 2 are functional requirements, 3 is a nonfunctional requirement
6406536034442.
1 and 2 are nonfunctional requirements, 3 is a functional requirement
6406536034443.
1 is a functional requirement, 2 and 3 are nonfunctional requirements

A published solution is not available for this question yet.

Report a correction for Q15

Question 16 MCQ · 4.0 marks

You’re unclear about what features independent sellers want in a new portal. You ask open-ended questions and follow up based on their responses. Which type of interview format are you likely using?
6406536034444.
Structured Interview
6406536034445.
Semi-structured Interview
6406536034446.
Unstructured Interview
6406536034447.
Focus Group

A published solution is not available for this question yet.

Report a correction for Q16

Question 17 MCQ · 4.0 marks

A digital wallet app was released after rigorous testing. However, users report that transactions sometimes fail on specific browsers. The development team investigates and releases a patch update to resolve this. Which phase of the software development process does this activity belong to?
6406536034448.
Design
6406536034449.
Testing
6406536034450.
Requirement Specification
6406536034451.
Maintenance

A published solution is not available for this question yet.

Report a correction for Q17

Question 18 MCQ · 4.0 marks

A blog site has frequent visitors for its top articles. The team implements a mechanism where previously fetched articles are served directly from memory rather than querying the database every time. Which type of optimization is being applied?
6406536034452.
Code minification
6406536034453.
Browser-based rendering
6406536034454.
Caching
6406536034455.
Asynchronous task queue

A published solution is not available for this question yet.

Report a correction for Q18

Question 19 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?
6406536034456.
Canary Deployment
6406536034457.
Blue-Green Deployment
6406536034458.
Version Deployment
6406536034459.
Shadow Deployment

A published solution is not available for this question yet.

Report a correction for Q19

Question 20 MCQ · 4.0 marks

As a developer, you're testing a new feature on your local machine using a connected local database. You've not yet pushed your code to the central repository. Which environment are you currently working in?
6406536034460.
Development environment
6406536034461.
Testing environment
6406536034462.
Staging environment
6406536034463.
Production environment

A published solution is not available for this question yet.

Report a correction for Q20

Question 21 MCQ · 4.0 marks

While managing a growing codebase, your team uses GitHub, JIRA, and Slack. A new intern is onboarded and wants to know why a certain function exists. No documentation is available. Which practice could have prevented this gap?
6406536034464.
Using static code analyzers
6406536034465.
Archiving code decisions in issue trackers
6406536034466.
Keeping Slack messages forever
6406536034467.
Writing shorter functions

A published solution is not available for this question yet.

Report a correction for Q21

Question 22 MCQ · 4.0 marks

You are working as a software engineer in a medium-sized company developing an e-commerce platform. A customer reports that they are unable to track their orders in the app. The issue is passed on to you after initial attempts to resolve it through basic FAQs and scripted responses failed. Which team most likely handled the initial customer query before escalating it to you?
6406536034468.
Marketing team
6406536034469.
Support team
6406536034470.
Product management team
6406536034471.
Ethics and policy team

A published solution is not available for this question yet.

Report a correction for Q22

Question 23 MCQ · 4.0 marks

What type of tool is an IDE (Integrated Development Environment) like IntelliJ IDEA or VS Code?
6406536034472.
Issue Tracking Tool
6406536034473.
Knowledge Sharing Tool
6406536034474.
Development Tool
6406536034475.
Communication Tool

A published solution is not available for this question yet.

Report a correction for Q23

Question 24 MCQ · 4.0 marks

You want to find out which function in your program is the slowest and how many times it is called. Which technique is most appropriate?
6406536034476.
Logging
6406536034477.
Dump & diff
6406536034478.
Profiling
6406536034479.
Stepping in debugger

A published solution is not available for this question yet.

Report a correction for Q24

Question 25 MCQ · 4.0 marks

You are working on a seller portal project. Your teammate suggests creating a diagram that shows the classes involved, their attributes, and their relationships to facilitate a design discussion. Which UML diagram should you use in this situation?
6406536034480.
Sequence Diagram
6406536034481.
State Machine Diagram
6406536034482.
Class Diagram
6406536034483.
Activity Diagram

A published solution is not available for this question yet.

Report a correction for Q25

Question 26 MCQ · 4.0 marks

Ravi modified three files (file1, file2, and file3) in his local Git repository. Two of them (file1 and file2) are ready to be committed, but one was just for testing and should not be committed. Which sequence of commands should Ravi use to commit only the two ready files?
6406536034484.
git add . → git commit -m "Updated files"
6406536034485.
git add file1 file2 → git commit -m "Ready for commit"
6406536034486.
git commit -a -m "Updated files"
6406536034487.
stage file1 file2 → git commit "Updated files"

A published solution is not available for this question yet.

Report a correction for Q26