Principles of Software Engineering MCQs (Part-4)

What is the core principle of Object Oriented Design (OOD)?

A Encapsulation
B Parallel processing
C Modularity
D Functional programming

Which pattern is used to ensure a class has only one instance?

A Strategy
B Factory
C Singleton
D Observer

What does the “Model” in MVC represent?

A Control logic
B Database layer
C User input
D UI components

Which phase of SDLC involves identifying system requirements?

A Testing
B Design
C Planning
D Requirement gathering

What is the primary focus of Agile methodology?

A Structured phases
B Flexibility
C Documentation
D Predictability

Which diagram in UML depicts the sequence of messages in a system?

A Sequence
B Class
C Activity
D Use case

What is the primary goal of software testing?

A Improve design
B Add features
C Increase speed
D Find bugs

Which of the following is a type of software design pattern?

A Waterfall
B Microservices
C Dependency Injection
D MVC

What is a key advantage of using a version control system like Git?

A Collaborative work
B More documentation
C Faster coding
D Better testing

Which of the following is a non functional requirement?

A Business logic
B System scalability
C Data security
D User interface

In the Waterfall model, what comes after coding?

A Maintenance
B Deployment
C Testing
D Design

Which of the following is a key principle of DevOps?

A Waterfall process
B Delayed testing
C Independent development
D Continuous integration

What is the purpose of refactoring in software development?

A Improve code quality
B Debug the system
C Reduce performance
D Add new features

What does an API allow in software systems?

A Automate testing
B Write code
C Access data
D Monitor performance

Which of the following is an example of a software architecture pattern?

A Version control
B Coding standard
C MVC
D Debugging strategy