Engineering
Engineering MCQs With Answers
0 Engineering MCQs for CSS, PPSC, FPSC, NTS and entry-test preparation. Take a scored quiz instead →
An architecture made up of small, independently deployable services that communicate through lightweight APIs such as REST over HTTP is known as:
AMonolithic Architecture
BMainframe Architecture
CBlackboard Architecture
DMicroservices Architecture
Which testing technique automatically feeds large volumes of invalid, malformed or random data into a program’s inputs to find crashes and security vulnerabilities?
AFuzz Testing (Fuzzing)
BMutation Testing
CSmoke Testing
DRegression Testing
Which behavioral pattern provides a way to capture and restore an object’s internal state without violating encapsulation (enabling Undo mechanisms)?
APrototype Pattern
BCommand Pattern
CMemento Pattern
DVisitor Pattern
Which behavioral design pattern allows an object to alter its behavior when its internal state changes, appearing as if its class changed?
AState Pattern
BStrategy Pattern
CMemento Pattern
DObserver Pattern
Which behavioral design pattern encapsulates how a set of objects interact, preventing explicit direct references and promoting loose coupling through a central coordinator?
AFacade Pattern
BMediator Pattern
CCommand Pattern
DObserver Pattern
Which behavioral design pattern enables selecting an algorithm’s implementation dynamically at runtime from a family of interchangeable algorithms?
AState Pattern
BCommand Pattern
CMediator Pattern
DStrategy Pattern
Which structural design pattern composes objects into tree structures to represent part-whole hierarchies, allowing clients to treat individual objects and compositions uniformly?
AFacade Pattern
BComposite Pattern
CDecorator Pattern
DAdapter Pattern
Which behavioral design pattern defines an algorithm’s skeleton in a base class, allowing subclasses to override specific steps without changing the overall structure?
AStrategy Pattern
BState Pattern
CTemplate Method Pattern
DChain of Responsibility Pattern
Which structural design pattern uses sharing to support large numbers of fine-grained objects efficiently by sharing common intrinsic state?
AFlyweight Pattern
BComposite Pattern
CBridge Pattern
DDecorator Pattern
Which structural design pattern dynamically attaches additional responsibilities and behavior to an object without modifying its original source code?
AAdapter Pattern
BProxy Pattern
CDecorator Pattern
DComposite Pattern
