Principles of Software Engineering MCQs (Part-5)

What is the primary goal of software requirement analysis?

A Collect data
B Code the software
C Define requirements
D Design system

Which of the following is used to represent system behavior in UML?

A Deployment diagram
B State diagram
C Sequence diagram
D Class diagram

What does “non functional requirement” refer to in software?

A Performance
B User interface
C Business logic
D Data handling

In UML, which diagram is used to model the structure of a system?

A Sequence diagram
B Use case diagram
C Activity diagram
D Class diagram

What is the primary focus of functional requirements?

A System architecture
B User interactions
C System functionality
D Performance

What type of requirement deals with how a system operates?

A Non functional
B Design
C Security
D Functional

Which of the following UML diagrams is used for modeling interactions between objects?

A Class
B Sequence
C Use case
D Activity

What is a key characteristic of Agile methodology?

A Long development cycles
B Formal documentation
C Flexibility
D Rigidity

What phase follows “System Design” in the SDLC?

A Testing
B Requirement gathering
C Implementation
D Deployment

Which of the following is NOT an example of a non functional requirement?

A Scalability
B Security
C Data processing
D Speed

What is the purpose of the “Use Case” diagram in UML?

A Model system behavior
B Show interactions between objects
C Represent system components
D Show system structure

In the context of SDLC, what is the “Testing” phase responsible for?

A Gathering requirements
B Designing the system
C Fixing bugs
D Writing code

Which design pattern ensures a class creates objects only when needed?

A Factory
B Prototype
C Singleton
D Lazy initialization

What is the main goal of software documentation?

A Define system architecture
B Write code
C Provide maintenance details
D Improve performance

Which of the following is NOT a feature of object oriented programming?

A Sequential execution
B Polymorphism
C Encapsulation
D Inheritance