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 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
Modifying software to enhance user features, improve code performance, or optimize execution speed based on user feedback is:
APerfective Maintenance
BCorrective Maintenance
CAdaptive Maintenance
DPreventive Maintenance
Modifying software proactively to detect and fix latent software faults before they manifest as operational failures is:
ACorrective Maintenance
BPreventive Maintenance
CAdaptive Maintenance
DEmergency Maintenance
In Software Maintenance, modifying software to fix bugs and operational failures discovered during production execution is:
AAdaptive Maintenance
BPerfective Maintenance
CCorrective Maintenance
DPreventive Maintenance
Modifying a software application to keep it functional in response to changes in operating systems, hardware, or database environments is:
ACorrective Maintenance
BPerfective Maintenance
CPreventive Maintenance
DAdaptive Maintenance
Verification checking that an SRS contains all necessary functional descriptions required by the customer is checking for:
AConsistency
BCompleteness
CModifiability
DPortability
A prototyping approach where software begins as a simple core model and is iteratively refined until it becomes the final production system is:
AThrowaway Prototyping
BPaper Prototyping
CStatic Mockup
DEvolutionary Prototyping
