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