M C Q s D r i v e

Software Engineering Mcqs 840 MCQs [All-Courses]

thumb

Software Engineering MCQs for job test and interview preparation, especially for fresh graduates, students, and candidates appearing in competitive exams. These multiple-choice questions cover a wide range of topics, including the fundamentals of software engineering, its various types, advanced concepts, software design, development processes, testing methods, software evolution, and security aspects.

You want to avoid multiple inheritance. Which design pattern would you choose ?
A Abstraction-Occurrence Pattern
B Player-Role Pattern
C General Hierarchy Pattern
D Singleton Pattern
Correct Answer: Player-Role Pattern
In factory method pattern, the framework must instantiate classes but it only knows about the abstract classes, which it cannot initiate. How would one solve this problem ?
A encapsulating the knowledge of which document subclass to is to be created and
B moving this knowledge out of the framework
C instantiating the application specific documents without knowing their class
D all of the mentioned
Correct Answer: all of the mentioned
Which design pattern defines one-to-many dependency among objects ?
A Singleton pattern
B Facade Pattern
C Observer pattern
D Factory method pattern
Correct Answer: Observer pattern
Which pattern prevents one from creating more than one instance of a variable ?
A Factory Method
B Singleton
C Observer
D None of the mentioned
Correct Answer: Singleton
Which of the following is a design pattern?
A Behavioral
B Structural
C Abstract Factory
D All of the mentioned
Correct Answer: All of the mentioned
The recurring aspects of designs are called design____________________?
A patterns
B documents
C structures
D methods
Correct Answer: patterns
You want to minimize development cost by reusing methods? Which design pattern would you choose ?
A Adapter Pattern
B Singleton Pattern
C Delegation pattern
D Immutable Pattern
Correct Answer: Delegation pattern
PRD stands for____________________?
A Product Requirement Document
B Project Requirement Document
C Product Restrictions Document
D None of the mentioned
Correct Answer: Product Requirement Document
The use of design patterns for the development of object-oriented software has important implications for____________________?
A Component-based software engineering
B Reusability in general
C All of the mentioned
D None of the mentioned
Correct Answer: All of the mentioned
Which mechanism is applied to use a design pattern in an OO system ?
A Inheritance
B Composition
C All of the mentioned
D None of the mentioned
Correct Answer: All of the mentioned