Software Engineering
Software Engineering MCQs with Answers
Software engineering MCQs with answers and detailed explanations for NTS, GAT, university tests and IT job interviews. SDLC, testing and design covered. Take a scored quiz instead →
In distributed software engineering, Remote Procedure Call (RPC) client-side stub proxies perform marshaling, which means:
ACompiling C++ code into machine assembly
BConverting high-level programming language data structures into a standardized wire format for network transmission
CDecrypting TLS network packets
DAllocating virtual memory heaps
Which pattern mediates between domain logic and data mapping layers using a collection-like interface for accessing domain objects?
ARepository Pattern
BFactory Pattern
CAdapter Pattern
DFacade Pattern
Which enterprise pattern maintains a list of database operations affected by a business transaction and coordinates writing out changes in a single unified operation?
ARepository Pattern
BService Locator Pattern
CDomain Model Pattern
DUnit of Work Pattern
In Object-Relational Mapping (ORM), which pattern maps a database table record directly to an object instance where object methods mirror column fields?
AData Mapper Pattern
BActive Record Pattern
CRepository Pattern
DUnit of Work Pattern
Which ORM design pattern keeps domain objects completely independent of database access logic by using a separate mapper object to transfer data?
AActive Record Pattern
BTable Module Pattern
CData Mapper Pattern
DTransaction Script Pattern
Which architectural style consists of a minimal core application system with feature extensions added dynamically through plug-in modules?
AMicrokernel (Plug-in) Architecture
BMonolithic Architecture
CLayered Architecture
DEvent-Driven Architecture
Which architectural pattern uses independent processing units (filters) connected by data transmission channels (pipes) where output of one filter flows into the next?
ABlackboard Architecture
BClient-Server Architecture
CPipe and Filter Architecture
DPeer-to-Peer Architecture
Which architectural style uses a central data repository surrounded by independent specialized worker components (agents) that solve complex AI or signal problems cooperatively?
AMicrokernel Architecture
BLayered Architecture
CSpace-Based Architecture
DBlackboard Architecture
In Model-View-Presenter (MVP) architecture, what role does the Presenter play compared to the Controller in MVC?
AIt queries the database directly without model interaction
BIt acts as a middleman that handles view events and updates the view via an interface directly
CIt serves as a CSS styling framework
DIt executes network serialization routines
Which architectural style separates an application into three interconnected parts: state model, presentation display, and user input handling?
AModel-View-Controller (MVC)
BPipe and Filter
CRepository Architecture
DLayered Architecture
