Design Pattern Definitions - 2

Take This Test

Section 1

Identify Design Pattern name from the given class diagram

1) Identify design pattern -

It defines a family of algorithms, encapsulate each one, and make them interchangeable. It lets the algorithm vary independently from clients that use it.

2) Identify design pattern -

Provide a surrogate or placeholder for another object to control access to it.

3) Identify design pattern -

It defines a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically.

4) Identify design pattern -

It uses sharing to support large numbers of fine-grained objects efficiently.

5) Identify Design Pattern -

It provides a unified interface to a set of interfaces in a subsystem. It defines a higher-level interface that makes the subsystem easier to use.

6) Identify design pattern -

It attaches additional responsibilities to an object dynamically. It provides a flexible alternative to sub classing for extending functionality.

7) Identify design pattern -

It arranges objects into tree structures to represent part-whole hierarchies and lets clients treat individual objects and collections of objects uniformly.

8) Identify design pattern -

It avoids coupling the sender of a request to its receiver by giving more than one object a chance to handle the request. It links the receiving objects and pass the request along the list until an object handles it.

9) Indentify Design patterns

It decouples an abstraction from its implementation so that the two can vary independently.

10) Identify design pattern -

It specifies the kinds of objects to create using a clone-able instance and creates new objects by copying this instance.

11) Indentify Design Pattern -

It defines an interface for creating an object, but let subclasses decide which class to instantiate. Thus, it lets a class defer instantiation to subclasses.

12) Identify design pattern -

It separates the construction of a complex object from its representation so that the same construction process can create different representations.

13) Identify Design Pattern -

It provides an interface for creating families of related or dependent objects without specifying their concrete classes.

14) Identify Design Pattern -

It converts the interface of a class into another interface clients expect. Let’s classes work together that couldn't otherwise because of incompatible interfaces.

Take This Test

Also check these Programming Languages test papers, these are one of most attempted test paper in this category.

Popular Programming Languages Papers

Object Oriented Programming
This is a simple test paper on Object Oriented Programming techniques. Try to be very precise in yo...
Design Pattern Definitions - 2
Identify design pattern and list their players and corresponding items (from diagram).
Design Pattern Definitions