ITELEC2C: Extras

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

Proxy Pattern

In which of the following pattern a class represents functionality of another class?

True

Integer class is an example of Decorator pattern.

This pattern is used when we need to decouple an abstraction from its implementation so that the two can vary independently.

Which of the following describes the Bridge pattern correctly?

True

Event handling frameworks like swing, awt use Observer Pattern.

Bridge Pattern

Which of the following pattern is used when we need to decouple an abstraction from its implementation so that the two can vary independently?

This pattern creates a chain of receiver objects for a request.

Which of the following describes the Chain of Responsibility pattern correctly?

In this pattern a request is wrapped under an object as command and passed to invoker object.

Which of the following describes the Command pattern correctly?

This pattern is used where we need to treat a group of objects in similar way as a single object.

Which of the following describes the Composite pattern correctly?

This pattern allows a user to add new functionality to an existing object without altering its structure.

Which of the following describes the Decorator pattern correctly?

This pattern enables developers to filter a set of objects using different criteria and chaining them in a decoupled way through logical operations.

Which of the following describes the Filter pattern correctly?

This pattern hides the complexities of the system and provides an interface to the client using which the client can access the system.

Which of the following describes the Flyweight pattern correctly?

This pattern provides a way to evaluate language grammar or expression.

Which of the following describes the Interpreter pattern correctly?

This pattern is used to get a way to access the elements of a collection object in sequential manner without any need to know its underlying representation.

Which of the following describes the Iterator pattern correctly?

This pattern is used to reduce communication complexity between multiple objects or classes.

Which of the following describes the Mediator pattern correctly?

This pattern is used to restore state of an object to a previous state.

Which of the following describes the Memento pattern correctly?

This pattern is used when there is one-to-many relationship between objects such as if one object is modified, its dependent objects are to be notified automatically.

Which of the following describes the Observer pattern correctly?

In this pattern a class represents functionality of another class.

Which of the following describes the Proxy pattern correctly?

In this pattern, a class behavior changes based on its state.

Which of the following describes the State pattern correctly?

Command Pattern

Which of the following pattern a request is wrapped under an object as command and passed to invoker object?

Decorator Pattern

Which of the following pattern allows a user to add new functionality to an existing object without altering its structure?

Chain of Responsibility Pattern

Which of the following pattern creates a chain of receiver objects for a request?

Flyweight Pattern

Which of the following pattern is primarily used to reduce the number of objects created and to decrease memory footprint and increase performance?

Iterator Pattern

Which of the following pattern is used to get a way to access the elements of a collection object in sequential manner without any need to know its underlying representation?

Mediator Pattern

Which of the following pattern is used to reduce communication complexity between multiple objects or classes?

Memento Pattern

Which of the following pattern is used to restore state of an object to a previous state?

Iterator Pattern

Which of the following pattern is used when there is one-to-many relationship between objects such as if one object is modified, its dependent objects are to be notified automatically?

Composite Pattern

Which of the following pattern is used where we need to treat a group of objects in similar way as a single object?

Interpreter Pattern

Which of the following pattern provides a way to evaluate language grammar or expression?


संबंधित स्टडी सेट्स

ACCT 292 Chapter 6: Cost-Volume-Profit Relationships

View Set

FL DCF Child Care, Preschool Appropriate Practices (PSPR) (2019)

View Set

Lesson 2.5 Solving Equations with Absolute Value

View Set

C++ interview questions and answers

View Set