DP Quiz
DP Quiz
2
Student No. Class :
_____________________________________________________________________
A - Bridge Pattern
B - Adapter Pattern
C - Prototype Pattern
D - Singleton Pattern
Q3. Which type of design patterns provide a way to create objects while hiding
the creation logic, rather than instantiating objects directly using new opreator?
Q4. Which of the following pattern refers to creating duplicate object while
keeping performance in mind?
A. Builder Pattern
B. Bridge Pattern
C. Prototype Pattern
D. Filter Pattern
Q9.Which design pattern ensures that only one object of particular class gets
created?
a) Singleton pattern
b) Filter pattern
c) State pattern
d) Bridge pattern
Q10.Define an interface for creating an object, but let the subclasses decide
which class to instantiate. It let the instantiation differ to subclasses.
A. Factory Method
B. Abstract Factory
C. Builder
D. Prototype