MauryaHub PYQ Practice

Software Engineering · Quiz 2 · May 2026

Software Engineering · Quiz 2 · May 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.

27 / 27 published solutions

Question 2 MCQ · 4.0 marks

A software company is developing a payroll system for 500 companies. The analyst prepares a fixed list of 25 questions and verbally asks exactly the same questions to HR managers from every company. Which requirement gathering technique is being used?
6406537134534.
Unstructured interview
6406537134535.
Semi-structured interview
6406537134536.
Structured interview
6406537134537.
Observation

Published solution

**1. Identify the distinction:** A fixed, prewritten list is asked verbally in the same way to each respondent. This is a structured interview. **Answer: C — Structured interview.** A: **Incorrect:** Unstructured interviews do not use an identical fixed question list. B: **Incorrect:** Semi-structured interviews permit flexible follow-up beyond a fixed core. C: **Correct:** The questions and interview procedure are standardized. D: **Incorrect:** Observation watches work rather than asking a fixed interview script.

Report a correction for Q2

Question 3 MCQ · 4.0 marks

An online banking application computes customer interest. Due to a mistake in the source code, the formula
Source diagram or notation
was implemented instead of
Source diagram or notation
The incorrect statement in the source code is an example of:
6406537134538.
Error
6406537134539.
Fault
6406537134540.
Failure
6406537134541.
Test Case

Published solution

**1. Identify the distinction:** The erroneous source-code statement is a fault: a defect in the program. The developer’s mistake is the error; an incorrect result during execution is a failure. **Answer: B — Fault.** A: **Incorrect:** An error is the human mistake that introduces the defect. B: **Correct:** The incorrect formula exists as a defect in the code. C: **Incorrect:** A failure is the externally observed incorrect behaviour when executed. D: **Incorrect:** A test case is an input and expected result used to check behaviour.

Report a correction for Q3

Question 4 MCQ · 4.0 marks

A ride-sharing company has completed a sprint. During a meeting, the team demonstrates the completed driver tracking feature to customers and receives feedback. Which Scrum activity is being performed?
6406537134542.
Sprint Planning
6406537134543.
Daily Scrum
6406537134544.
Sprint Review
6406537134545.
Sprint Retrospective

Published solution

**1. Identify the distinction:** A sprint review inspects the completed increment with stakeholders and gathers feedback. Demonstrating the driver-tracking feature matches that purpose. **Answer: C — Sprint Review.** A: **Incorrect:** Planning decides the coming sprint’s work. B: **Incorrect:** The daily Scrum coordinates developers’ progress during a sprint. C: **Correct:** The completed increment is being inspected with customers. D: **Incorrect:** A retrospective improves the team’s process rather than demonstrating the increment to customers.

Report a correction for Q4

Question 5 MCQ · 4.0 marks

A team completed the following story points in the last four sprints:
Source diagram or notation
What is the average velocity?
6406537134546.
20
6406537134547.
21
6406537134548.
22
6406537134549.
23

Published solution

**1. Sum completed points:** \(18+22+20+24=84\). **2. Divide by four sprints:** \(\bar v=84/4=21\) story points per sprint. **Answer: B — 21 story points per sprint.** A: **Incorrect:** The arithmetic mean is 21, not 20. B: **Correct:** 84 completed points divided by four sprints gives 21. C: **Incorrect:** The arithmetic mean is 21, not 22. D: **Incorrect:** The arithmetic mean is 21, not 23.

Report a correction for Q5

Question 6 MCQ · 4.0 marks

An e-commerce company maintains the following modules: ● Inventory Management ● Payment Processing ● Recommendation Engine Each module is assigned a single, well-defined objective. All three modules directly access and modify the same global dictionary data structure that stores product information. Any change to the structure of this shared dictionary requires modifications in all three modules. Which statement is true?
6406537134550.
High cohesion and high coupling
6406537134551.
High cohesion and low coupling
6406537134552.
Low cohesion and high coupling
6406537134553.
Low cohesion and low coupling

Published solution

**1. Identify the distinction:** Each module has one focused objective, giving high cohesion. Shared mutable global data makes changes spread between modules, giving high coupling. **Answer: A — High cohesion and high coupling.** A: **Correct:** The objectives are focused, but the shared data creates strong dependencies. B: **Incorrect:** The shared global dictionary prevents low coupling. C: **Incorrect:** The focused module objectives indicate high cohesion. D: **Incorrect:** The modules have focused objectives and strong data dependencies.

Report a correction for Q6

Question 7 MCQ · 4.0 marks

A developer notices that a video editing application is slow. The team wants to identify: ● functions consuming maximum CPU ● memory hot spots ● performance bottlenecks Which of the following debugging techniques should be used?
6406537134554.
Logging
6406537134555.
Profiling Tool
6406537134556.
Stepping in debugger
6406537134557.
Dump and Diff

Published solution

**1. Identify the distinction:** A profiler measures CPU time, memory allocation and hot paths during execution, directly identifying performance bottlenecks. **Answer: B — Profiling Tool.** A: **Incorrect:** Logs can record events but do not automatically attribute CPU and memory hotspots. B: **Correct:** Profiling attributes resource use to functions and code paths. C: **Incorrect:** Single-stepping explains execution but is inefficient for measuring performance hotspots. D: **Incorrect:** Comparing dumps targets state differences rather than systematic performance attribution.

Report a correction for Q7

Question 8 MCQ · 4.0 marks

A university portal must support: ● student registration ● fee payment ● grade viewing A new class named
Source diagram or notation
is introduced with a single method:
Source diagram or notation
The method internally coordinates the registration, payment, and grade management subsystems to complete the admission process. Which of the following design patterns is followed in this case?
6406537134558.
Factory
6406537134559.
Adapter
6406537134560.
Facade
6406537134561.
Builder

Published solution

**1. Identify the distinction:** UniversityPortal.performAdmission() provides one simple entry point that coordinates several subsystems. Hiding this coordination behind a unified interface is the Facade pattern. **Answer: C — Facade.** A: **Incorrect:** Factory focuses on selecting and creating objects. B: **Incorrect:** Adapter converts one interface into another. C: **Correct:** A facade simplifies access to a collection of subsystems. D: **Incorrect:** Builder assembles a complex object step by step.

Report a correction for Q8

Question 9 MCQ · 4.0 marks

A company develops an Online Travel Booking System. 1. Travelers use the mobile app to search and book flights. 2. Travel agents inside the company update airline contracts and pricing. 3. A payment gateway processes customer transactions. 4. The airline reservation system exchanges seat availability data with the application. Which option correctly identifies the client type for each case?
6406537134562.
1-External User, 2-Internal User, 3-Software Client, 4-Software Client
6406537134563.
1-Internal User, 2-External User, 3-Software Client, 4-Software Client
6406537134564.
1-External User, 2-Software Client, 3-Internal User, 4-Software Client
6406537134565.
1-Software Client, 2-Internal User, 3-External User, 4-Software Client

Published solution

**1. Identify the distinction:** Travelers are external human users; the company’s travel agents are internal human users. The payment gateway and airline reservation system are software systems that interact with the application. **Answer: A — 1-External User, 2-Internal User, 3-Software Client, 4-Software Client.** A: **Correct:** All four classifications match their roles. B: **Incorrect:** This reverses the two human user categories. C: **Incorrect:** Travel agents are people, and the gateway is software. D: **Incorrect:** Travelers are people, and the payment gateway is software.

Report a correction for Q9

Question 10 MCQ · 4.0 marks

A software company releases a new digital banking application to 100 selected customers. The customers use the application in real-world conditions and report usability issues. Which testing phase is being performed?
6406537134566.
Unit Testing
6406537134567.
Integration Testing
6406537134568.
Alpha Testing
6406537134569.
Beta Testing

Published solution

**1. Identify the distinction:** Selected real customers are trying a prerelease product in real-world conditions. This is beta testing, which collects feedback outside the development environment. **Answer: D — Beta Testing.** A: **Incorrect:** Unit testing isolates small program units. B: **Incorrect:** Integration testing checks component interactions. C: **Incorrect:** Alpha testing is ordinarily performed in a controlled developer environment. D: **Correct:** External customers test the product in their own real-world usage.

Report a correction for Q10

Question 11 MCQ · 4.0 marks

Consider the following requirements for an online examination system: Requirement 1: Students shall be able to submit answers online. Requirement 2: The system shall process and save submissions within 2 seconds. Which statement is true?
6406537134578.
Both are functional requirements.
6406537134579.
Requirement 1 is functional and Requirement 2 is non-functional.
6406537134580.
Requirement 1 is non-functional and Requirement 2 is functional.
6406537134581.
Both are non-functional requirements.

Published solution

**1. Identify the distinction:** Submitting answers specifies what the system must do, a functional requirement. Saving within two seconds adds a performance constraint, a non-functional requirement. **Answer: B — Requirement 1 is functional and Requirement 2 is non-functional..** A: **Incorrect:** The response-time bound is a quality constraint. B: **Correct:** The first defines behaviour; the second constrains its performance. C: **Incorrect:** This reverses their classifications. D: **Incorrect:** Submitting answers is a specified system function.

Report a correction for Q11

Question 12 MCQ · 4.0 marks

Consider the user story as follow: As a customer, I want to track my food delivery, So that I know when my order will arrive. The story is refined as: "...the delivery status must refresh every 15 seconds." Which SMART property is improved?
6406537134582.
Specific
6406537134583.
Relevant
6406537134584.
Measurable
6406537134585.
Achievable

Published solution

**1. Identify the distinction:** The 15-second refresh interval supplies a numerical criterion that can be checked. It primarily improves measurability. **Answer: C — Measurable.** A: **Incorrect:** The interval also adds detail, but its key contribution is a measurable acceptance criterion. B: **Incorrect:** The reason the feature matters is already stated. C: **Correct:** The refresh interval can be timed objectively. D: **Incorrect:** An interval alone does not establish that the goal is feasible.

Report a correction for Q12

Question 13 MCQ · 4.0 marks

A healthcare portal allows doctors to prescribe medicines and patients to book appointments. However, new users frequently struggle to discover how appointments can be cancelled because there is no guidance or tutorial. Which usability goal is most affected?
6406537134586.
Efficiency
6406537134587.
Learnability
6406537134588.
Safety
6406537134589.
Memorability

Published solution

**1. Identify the distinction:** First-time users cannot discover how to perform cancellation. This impedes learning the interface, so learnability is most affected. **Answer: B — Learnability.** A: **Incorrect:** Efficiency concerns speed and effort once the operation is understood. B: **Correct:** The difficulty is discovering and learning the operation. C: **Incorrect:** No specific harmful outcome is described. D: **Incorrect:** Memorability concerns returning after previously learning the interface.

Report a correction for Q13

Question 14 MCQ · 4.0 marks

A UX designer creates clickable screens using Figma. Users can navigate between screens, enter sample data, and simulate workflows. What type of prototype is this?
6406537134590.
Storyboard
6406537134591.
Paper Prototype
6406537134592.
Interactive Prototype
6406537134593.
Digital Mock-up

Published solution

**1. Identify the distinction:** The prototype responds to user actions and simulates navigation and workflows. This interaction distinguishes it from static screens. **Answer: C — Interactive Prototype.** A: **Incorrect:** A storyboard illustrates a sequence rather than supporting live interaction. B: **Incorrect:** The prototype is digital and clickable, not paper-based. C: **Correct:** Navigation and simulated input make it interactive. D: **Incorrect:** A static digital mock-up does not itself simulate workflows.

Report a correction for Q14

Question 15 MCQ · 4.0 marks

An e-commerce website allows customers to browse products and compare prices without requiring login. Which design heuristic is supported?
6406537134594.
Freedom
6406537134595.
Recognition over Recall
6406537134596.
Consistency
6406537134597.
Show Status

Published solution

**1. Identify the distinction:** Users can explore products without being forced into authentication. Removing that unnecessary prerequisite supports freedom of action. **Answer: A — Freedom.** A: **Correct:** Browsing is available without an imposed login step. B: **Incorrect:** Recognition over recall concerns showing information instead of requiring memory. C: **Incorrect:** Consistency concerns uniform conventions across the interface. D: **Incorrect:** Showing status concerns feedback about the system’s current state.

Report a correction for Q15

Question 16 MCQ · 4.0 marks

Module A directly accesses and modifies the internal variables of Module B. What type of coupling exists?
6406537134598.
Data Coupling
6406537134599.
Control Coupling
6406537134600.
Common Coupling
6406537134601.
Content Coupling

Published solution

**1. Identify the distinction:** Accessing or modifying another module’s internal variables depends on its implementation contents. That is content coupling. **Answer: D — Content Coupling.** A: **Incorrect:** Data coupling exchanges values through defined interfaces. B: **Incorrect:** Control coupling passes information that directs another module’s logic. C: **Incorrect:** Common coupling shares a common global data area. D: **Correct:** The dependency directly crosses another module’s internal boundary.

Report a correction for Q16

Question 17 MCQ · 4.0 marks

Consider the Python function:
Source diagram or notation
What is the cyclomatic complexity?
6406537134606.
2
6406537134607.
3
6406537134608.
4
6406537134609.
5

Published solution

**1. Count decisions:** The function contains two if statements: x>0 and x%2==0. **2. Add the base path:** \(V=2+1=3\). The three outcomes are nonpositive, positive even and positive odd inputs. **Answer: B — 3.** A: **Incorrect:** There are two decisions plus one base path. B: **Correct:** The function has three independent paths. C: **Incorrect:** Else branches do not each add a separate decision. D: **Incorrect:** Only two decision predicates occur.

Report a correction for Q17

Question 18 MCQ · 4.0 marks

A compiler processes source code through the modules -- lexical analysis, parsing, semantic analysis, optimization, and code generation. The output of one module is used as input to the next module. Which architecture style best matches this system?
6406537134610.
MVC
6406537134611.
Client-Server
6406537134612.
Pipe-and-Filter
6406537134613.
Peer-to-Peer

Published solution

**1. Identify the distinction:** The compiler stages each transform a stream or representation and pass their output to the next stage. This is pipe-and-filter architecture. **Answer: C — Pipe-and-Filter.** A: **Incorrect:** MVC separates model, view and controller responsibilities. B: **Incorrect:** Client-server is organized around service requests and responses. C: **Correct:** Filters transform input and pipes connect the transformation stages. D: **Incorrect:** Peer-to-peer uses cooperating peer nodes rather than a transformation pipeline.

Report a correction for Q18

Question 19 MCQ · 4.0 marks

A marketplace supports three delivery modes: ● Physical Shipping ● Email Delivery ● Instant Download A single interface
Source diagram or notation
forces every implementation to provide:
Source diagram or notation
even when many methods are irrelevant. Which SOLID principle is violated?
6406537134614.
Single Responsibility Principle
6406537134615.
Open-Closed Principle
6406537134616.
Interface Segregation Principle
6406537134617.
Dependency Inversion Principle

Published solution

**1. Identify the distinction:** A broad interface forces delivery implementations to support methods they do not need. Interface Segregation recommends smaller role-specific interfaces. **Answer: C — Interface Segregation Principle.** A: **Incorrect:** A single responsibility concern may accompany the design, but unused interface methods directly implicate ISP. B: **Incorrect:** Open-Closed concerns extension without modifying existing code. C: **Correct:** Implementations should not depend on irrelevant interface operations. D: **Incorrect:** Dependency Inversion concerns depending on abstractions rather than concrete implementations.

Report a correction for Q19

Question 20 MSQ · 4.0 marks

A large organization develops software using teams located in Chennai, Bangalore, and Delhi. Before implementation begins, interface specifications are finalized. Which statements about interfaces are correct?
6406537134570.
They specify permitted requests and outputs.
6406537134571.
They reveal the complete implementation details.
6406537134572.
They allow independent development of components.
6406537134573.
Implementation can change without affecting dependent modules if the interface remains unchanged.

Published solution

**1. Use the component contract:** An interface defines permitted requests and results. Teams can implement independently against it, and a compatible internal change need not affect clients. **Answer: A, C, D — Statements A, C and D.** **Convention note:** Remaining compatible means preserving specified behaviour as well as the visible method signatures. A: **Correct:** Requests and outputs are part of an interface contract. B: **Incorrect:** Interfaces hide rather than reveal the complete implementation. C: **Correct:** An agreed interface supports independent component development. D: **Correct:** Preserving the full interface contract allows implementation changes without client changes.

Report a correction for Q20

Question 21 MSQ · 4.0 marks

A startup is developing an AI-based legal document analysis system. Since requirements are unclear, they build a prototype and show it to lawyers for feedback. Which are advantages of using a prototype model?
6406537134574.
Helps clarify user expectations.
6406537134575.
Helps identify design issues early.
6406537134576.
Guarantees zero defects in the final product.
6406537134577.
Enables early requirement refinement.

Published solution

**1. Evaluate early feedback:** A prototype makes expectations tangible and exposes requirement or design misunderstandings before full development. It supports refinement but cannot guarantee defect-free software. **Answer: A, B, D — Clarification, early issue detection and refinement.** A: **Correct:** Feedback helps clarify expectations. B: **Correct:** Early demonstrations can reveal design issues. C: **Incorrect:** No development model guarantees zero defects. D: **Correct:** Feedback supports early requirement refinement.

Report a correction for Q21

Question 22 MSQ · 4.0 marks

Consider the UML class diagram shown below.
Source diagram or notation
Assume: ●
Source diagram or notation
places
Source diagram or notation
s. ●
Source diagram or notation
contains multiple
Source diagram or notation
s. ●
Source diagram or notation
is a special type of
Source diagram or notation
. Identify the valid relationships.
6406537134602.
Association between
Source diagram or notation
and
Source diagram or notation
6406537134603.
Composition between
Source diagram or notation
and
Source diagram or notation
6406537134604.
Inheritance between
Source diagram or notation
and
Source diagram or notation
6406537134605.
Composition between
Source diagram or notation
and
Source diagram or notation

Published solution

**1. Read UML symbols:** Customer–Order has an association line; the filled diamond at Order represents composition with Item; the hollow triangle points from ExpressOrder to its superclass Order. **2. Match the statements:** Those three relationships are supported. The Customer–Order line is not composition. **Answer: A, B, C — Customer–Order association, Order–Item composition, ExpressOrder–Order inheritance.** A: **Correct:** Customer and Order are connected by an association. B: **Correct:** The filled diamond denotes Order–Item composition. C: **Correct:** ExpressOrder specializes Order through inheritance. D: **Incorrect:** Customer–Order is drawn as an association, not composition.

Report a correction for Q22

Question 23 MCQ · 3.0 marks

A company depends on a third-party fraud detection service for validating online transactions. There is a risk that defects in the third-party service may impact the application. Based on the above data, answer the given subquestions.
What type of risk is described?
6406537134618.
Business Risk
6406537134619.
Technical Risk
6406537134620.
Project Risk
6406537134621.
It is not a risk.

Published solution

**1. Identify the distinction:** A defect in an external component threatens the system’s correctness and reliability. This is a technical risk. **Answer: B — Technical Risk.** A: **Incorrect:** Business risk concerns commercial viability or value. B: **Correct:** The threat arises from a technology component’s defects. C: **Incorrect:** Project risk usually concerns delivery resources, schedule or budget. D: **Incorrect:** A dependency can introduce a real technical failure risk.

Report a correction for Q23

Question 24 MCQ · 3.0 marks

A company depends on a third-party fraud detection service for validating online transactions. There is a risk that defects in the third-party service may impact the application. Based on the above data, answer the given subquestions.
Which mitigation strategy is most suitable?
6406537134622.
Conduct customer surveys
6406537134623.
Benchmark and regularly inspect the external component
6406537134624.
Explore the market
6406537134625.
Reduce project scope

Published solution

**1. Identify the distinction:** Benchmarking and regularly inspecting the dependency can expose defects and degradation before they affect the application. It directly targets the stated risk. **Answer: B — Benchmark and regularly inspect the external component.** A: **Incorrect:** Customer surveys do not establish the service’s technical reliability. B: **Correct:** Testing and monitoring the external component target its potential defects. C: **Incorrect:** Exploring the market does not validate the installed component. D: **Incorrect:** Reducing scope does not necessarily remove this dependency or its defects.

Report a correction for Q24

Question 25 MCQ · 2.0 marks

A company is developing an online furniture shopping platform. The requirements are well understood, the development team consists of highly experienced developers, and the estimated project size is 50 KLOC.
Source diagram or notation
Based on the above data, answer the given subquestions.
Which COCOMO project category best describes the project?
6406537134626.
Organic
6406537134627.
Semi-detached
6406537134628.
Embedded
6406537134629.
Cannot be determined

Published solution

**1. Identify the distinction:** The familiar requirements, experienced team and relatively modest 50-KLOC application fit the organic mode of Basic COCOMO. **Answer: A — Organic.** A: **Correct:** This mode models relatively straightforward projects with experienced teams. B: **Incorrect:** Semi-detached mode suits mixed experience and greater complexity. C: **Incorrect:** Embedded mode involves tight operational or hardware constraints. D: **Incorrect:** The scenario supplies enough mode-selection information.

Report a correction for Q25

Question 26 MCQ · 4.0 marks

A company is developing an online furniture shopping platform. The requirements are well understood, the development team consists of highly experienced developers, and the estimated project size is 50 KLOC.
Source diagram or notation
Based on the above data, answer the given subquestions.
Using the Basic COCOMO model, what is the approximate initial effort for the project?
6406537134630.
146 Person-Months
6406537134631.
185 Person-Months
6406537134632.
220 Person-Months
6406537134633.
305 Person-Months

Published solution

**1. Select organic coefficients:** The supplied table gives \(a=2.4\), \(b=1.05\). Basic COCOMO effort is \(E=a(KLOC)^b\). **2. Substitute:** \[E=2.4(50)^{1.05}\approx145.93\text{ person-months}.\] **Answer: A — 146 person-months.** A: **Correct:** The rounded organic estimate is 146 person-months. B: **Incorrect:** This does not equal 2.4×50^1.05. C: **Incorrect:** This does not equal the organic-mode estimate. D: **Incorrect:** This substantially exceeds the organic estimate.

Report a correction for Q26

Question 27 MSQ · 2.0 marks

A university is developing an online examination portal. Before implementation, the development team prepares the following activity network.
Source diagram or notation
Based on the above data, answer the given subquestions.
Which of the following statements are true?
6406537134634.
UI Design and Database Design can proceed simultaneously.
6406537134635.
Testing can begin immediately after Requirements Analysis.
6406537134636.
Implementation depends on both UI Design and Database Design.
6406537134637.
Deployment can start before Testing is completed.

Published solution

**1. Read incoming edges:** Requirements Analysis precedes both UI Design and Database Design. Neither design task depends on the other, so they can run in parallel. **2. Read the merge and finish:** Implementation waits for both designs, then Testing precedes Deployment. **Answer: A, C — Statements A and C.** A: **Correct:** The two design tasks share a predecessor but have no dependency on each other. B: **Incorrect:** Testing waits for Implementation. C: **Correct:** Both design tasks have edges into Implementation. D: **Incorrect:** Deployment has Testing as a prerequisite.

Report a correction for Q27

Question 28 MCQ · 2.0 marks

A university is developing an online examination portal. Before implementation, the development team prepares the following activity network.
Source diagram or notation
Based on the above data, answer the given subquestions.
Which task must be completed immediately before Deployment?
6406537134638.
UI Design
6406537134639.
Database Design
6406537134640.
Implementation
6406537134641.
Testing

Published solution

**1. Identify the distinction:** In the activity network, the only direct predecessor of Deployment is Testing. Deployment therefore waits for testing to finish. **Answer: D — Testing.** A: **Incorrect:** UI Design is an earlier upstream task. B: **Incorrect:** Database Design is an earlier upstream task. C: **Incorrect:** Implementation is followed by Testing before Deployment. D: **Correct:** The graph contains the direct dependency Testing → Deployment.

Report a correction for Q28