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: The principle of DRY stands for
A) Don’t Repeat Yourself
B) Don't Run Yet
C) Download Ready Yields
D) Do Reuse YAML
βœ… Correct Answer: A
Explanation: DRY promotes avoiding code duplication.
Q: In software engineering, stakeholders include
A) All affected by the system
B) Only managers
C) Only developers
D) Only testers
βœ… Correct Answer: A
Explanation: Stakeholders are individuals or groups affected by the software.
Q: The main goal of software architecture is
A) Increase cost
B) Define high-level structure
C) Add features
D) Delay deadlines
βœ… Correct Answer: B
Explanation: Architecture provides the blueprint of the software system.
Q: SCRUM methodology uses
A) Sprints
B) DFDs only
C) Waterfalls
D) RAD tools
βœ… Correct Answer: A
Explanation: Scrum works in short cycles called sprints.
Q: UML stands for
A) Uniform Modeling Level
B) Unified Modeling Language
C) User Mode Level
D) Unified Markup Language
βœ… Correct Answer: B
Explanation: UML is used to visualize the design of a system.