Pakistan's best MCQs practice hub — FPSC · PPSC · CSS · NTS · Other Exams
Login
Engineering

Engineering MCQs With Answers

0 Engineering MCQs for CSS, PPSC, FPSC, NTS and entry-test preparation. Take a scored quiz instead →

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
Submitted by: mcqstutor Team 0 comments

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
Submitted by: mcqstutor Team 0 comments

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
Submitted by: mcqstutor Team 0 comments