Olete.in
Articles
Mock Tests
🧪 Design Patterns MCQ Quiz Hub
Design Pattern Mcq Set 1
Choose a topic to test your knowledge and improve your Design Patterns skills
1. Design patterns are divided into three fundamental groups.
Behavioral Patterns
Creational Patterns
Structural Patterns
J2EE Patterns
2. Which of the below is not a valid design pattern?
Singleton
Factory
Command
Java
3. Which of the below author is not a part of GOF (Gang of Four)?
Erich Gamma
Gang Pattern
Richard Helm
Ralph Johnson
4. Which of the below is not a valid classification of design pattern?
Creational patterns
Structural patterns
Behavioural patterns
Java patterns
5. Which design pattern provides a single class which provides simplified methods required by client and delegates call to those methods?
Adapter pattern
Builder pattern
Facade pattern
Prototype pattern
6. Which design pattern ensures that only one object of particular class gets created?
Singleton pattern
Filter pattern
State pattern
Bridge pattern
7. Which design pattern suggests multiple classes through which request is passed and multiple but only relevant classes carry out operations on the request?
Singleton pattern
Chain of responsibility pattern
State pattern
Bridge pattern
8. Which design pattern represents a way to access all the objects in a collection?
Iterator pattern
Facade pattern
Builder pattern
Bridge pattern
9. What does MVC pattern stands for?
Mock View Control
Model view Controller
Mock View Class
Model View Class
10. Which design pattern works on data and action taken based on data provided?
Command pattern
Singleton pattern
MVC pattern
Facade pattern
11. Which of the following pattern refers to creating duplicate object while keeping performance in mind?
Builder Pattern
Bridge Pattern
Prototype Pattern
Filter Pattern
12. Define the skeleton of an algorithm in an operation, deferring some steps to subclasses. It lets subclasses redefine certain steps of an algorithm without changing the algorithm
Chain of responsibility
Template method
Interpretor
Prototype
13. Which design pattern provides a single class which provides simplified methods required by client and delagates call to those methods?
Adapter pattern
Builder pattern
Facade pattern
Prototype pattern
14. In which of the following pattern, a visitor class is used which changes the executing algorithm of an element class?
Visitor Pattern
MVC Pattern
Business Delegate Pattern
Composite Entity Pattern
15. Which of the following Chooses and standardizes patterns for a problem domain promotes software reuse and, hence, quality and productivity?
Promoting Communication
Streamlining Documentation
Increasing Development Efficiency
Supporting Software Reuse
16. Attach additional responsibilities to an object dynamically.It provides a flexible alternative to subclassing for extending functionality.
Chain of responsibility
Adapter
Decorator
Composite
17. A pattern language
encompasses a collection of patterns
is implemented using hypertext
resembles the structure of natural languages
None of the above
18. Which design pattern suggest multiple classes through which request is passed and multiple but only relevant classes carry out operations on the request?
Singleton pattern
Chain of responsibility pattern
State pattern
Bridge pattern
19. Most user interface design patterns fall with in one of ____ categories of patterns.
5
10
25
100
20. Which of the following are levels of design focus that can be used to categorize WebApp patterns?
Behavioral patterns
Functional patterns
Navigation patterns
Both b and c
Submit