Engineering
Engineering MCQs With Answers
0 Engineering MCQs for CSS, PPSC, FPSC, NTS and entry-test preparation. Take a scored quiz instead →
In microservices architecture, what resiliency pattern prevents cascade failures by wrapping remote calls and immediately returning a fallback if error thresholds are exceeded?
ACircuit Breaker Pattern
BBulkhead Pattern
CRetry Pattern
DSaga Pattern
An architectural pattern that captures all changes to an application state as a chronological sequence of immutable events is:
ACQRS
BPublish-Subscribe
CObserver Pattern
DEvent Sourcing
An architectural pattern that segregates the read data model from the write data model to optimize performance and scalability is:
AEvent Sourcing
BDomain-Driven Design
CCommand Query Responsibility Segregation (CQRS)
DModel-View-Controller
In Domain-Driven Design (DDD), an entity that acts as the root gatekeeper for a cluster of associated domain objects to enforce consistency boundaries is an:
AAggregate Root
BValue Object
CDomain Service
DRepository
In Domain-Driven Design (DDD), an object defined solely by its attribute values rather than a unique identity is a:
AEntity
BValue Object
CAggregate Root
DFactory
In software architecture, the principle that modules should exhibit high cohesion internally while maintaining low coupling externally is:
ALoose Coupling & High Cohesion Principle
BSingle Responsibility Principle
COpen-Closed Principle
DLaw of Demeter
The Law of Demeter (Principle of Least Knowledge) states that an object’s method should only invoke methods of:
AAny global object anywhere in the application
BItself, its parameters, objects it instantiates, and its immediate direct component fields
CSubclasses located 3 levels deep in the inheritance tree
DRemote microservices without authentication
The software maintenance metric representing the percentage of software changes that introduce new defects into the system is the:
AMean Time To Repair
BCode Turnover Ratio
CFix Latency Index
DChange Error Rate (Defect Injection Rate)
According to Lientz and Swanson, which category accounts for the largest proportion (over 50%) of total software maintenance effort?
ACorrective Maintenance
BAdaptive Maintenance
CPerfective Maintenance
DPreventive Maintenance
Verification checking that an SRS contains all necessary functional descriptions required by the customer is checking for:
AConsistency
BCompleteness
CModifiability
DPortability
