Engineering
Engineering MCQs With Answers
0 Engineering MCQs for CSS, PPSC, FPSC, NTS and entry-test preparation. Take a scored quiz instead →
The advanced code coverage metric mandated for critical safety-avionics systems (DO-178C) requiring every condition in a decision to independently affect the outcome is:
AStatement Coverage
BBranch Coverage
CPath Coverage
DModified Condition/Decision Coverage (MC/DC)
A fault-based software testing technique where small intentional errors (mutants) are introduced into the source code to evaluate test suite quality is:
AFuzz Testing
BMutation Testing
CStress Testing
DSmoke Testing
A white-box testing metric that checks whether every boolean sub-expression in a logical decision has been evaluated independently as True and False is:
AStatement Coverage
BLine Coverage
CCondition Coverage
DPath Coverage
An architectural pattern where independent microservices expose RESTful APIs and interact via HTTP/JSON protocols is known as:
AMonolithic Architecture
BMainframe Architecture
CBlackboard Architecture
DMicroservices Architecture
Software testing technique where test inputs are randomly generated and sent to the software to detect crashes or memory leaks is known as:
AFuzz Testing (Fuzzing)
BMutation Testing
CMonkey 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
