Software Engineering MCQs
Software Engineering MCQs cover SDLC, Agile, design principles, testing, planning, and maintenance for NTS, PPSC, FPSC, and IT exams, helping candidates assess knowledge, improve skills, and prepare for software development careers.
Q: Software maintainability depends on
A) tight coupling
B) long code
C) delayed testing
D) clear documentation
โ
Correct Answer: D
Explanation: Proper documentation and modular code enhance maintainability.
Q: Encapsulation is achieved using
A) memory allocation
B) inheritance
C) pointers
D) access specifiers
โ
Correct Answer: D
Explanation: Access specifiers (private, public, protected) enforce encapsulation.
Q: The key purpose of unit testing is to
A) perform integration
B) test individual modules
C) assess design quality
D) validate user experience
โ
Correct Answer: B
Explanation: Unit testing focuses on testing individual components or functions of code.
Q: Risk management involves
A) documenting tests only
B) skipping planning
C) identifying and mitigating uncertainties
D) cost estimation
โ
Correct Answer: C
Explanation: Risk management identifies, analyzes, and reduces project risks.
Q: Alpha testing is conducted by
A) end users
B) beta users
C) developers internally
D) third-party testers
โ
Correct Answer: C
Explanation: Alpha testing occurs within the development team before release.