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: Open-source software allows
A) Source code access
B) Paid licensing only
C) Proprietary changes only
D) No editing
โœ… Correct Answer: A
Explanation: Open-source software can be used, modified, and shared freely.
Q: During maintenance phase, developers
A) Refactor code
B) Gather initial requirements
C) Plan features
D) Correct errors and improve performance
โœ… Correct Answer: D
Explanation: Maintenance involves fixing bugs and enhancing performance post-deployment.
Q: Software verification ensures
A) Product solves the problem
B) None of the above
C) Code is encrypted
D) Product was built correctly
โœ… Correct Answer: D
Explanation: Verification confirms if the system is built as per specifications.
Q: A Gantt chart is used for
A) UI modeling
B) Tracking project timelines
C) Code compilation
D) Writing test cases
โœ… Correct Answer: B
Explanation: Gantt charts help visualize project schedules.
Q: Code refactoring aims to
A) Increase bugs
B) Improve structure without changing behavior
C) Reduce functionality
D) Remove comments
โœ… Correct Answer: B
Explanation: Refactoring enhances code readability and maintainability.