OOP Concepts Part 1
OOP Concepts Part 2
Miscellaneous
Patterns Everywhere
Problems, Problems, Problems
100

A blueprint for a group of similar entities.

What is a class?

100

A Circle's relationship to Shape is an example of this.

What is inheritance?

100

+ - # are symbols for this

What are visibility modifiers?

100

This pattern has a notify and update method.

What is the Observer pattern?

    

100

A common mistake made when trying to use this design pattern is that a class is wrapped by another, but no functionality is reduced and the wrapping class is NOT used to match an existing interface.

What is the Façade pattern?

200

An entity with responsibilities.

What is an object?

200

A Circle has a Center is an example of this relationship.

What is aggregation or composition?

200

This is a pictorial representation of the relationships between objects in a design.

What is a Class Diagram?

200

This pattern lets classes work together that could not otherwise because of incompatible interfaces.

What is the Adapter Pattern?

200

A common mistake made when trying to use this design pattern is that each concrete class implements multiple algorithms that can vary independently.

What is the Strategy pattern?

300

A class in which some methods have no implementation.

What is an abstract class?

300

Keeping parts of the code separate (sometimes hidden) from other parts. With this separation, the parts that can change often are easier to change.

What is Encapsulation?

300

The degree of interdependence between software modules.

What is Coupling?

300

This design pattern ensures that each implementation must implement all of the functionality of each and every abstraction. 

What is the Bridge pattern?

300

A common mistake made when trying to use this design pattern is that each abstraction contains information about some of the implementations.

What is a Bridge pattern?

400

An abstract type that is used to specify a behavior that classes must implement.

What is an interface?

400

A Person reads a Book is an example of this.

What is Dependency?

400

This pattern is often mislabeled as a façade when you are trying to map existing 3rd party functionality to an existing interface.

What is a Adapter?

400

This pattern delegates the responsibility of object instantiation to another one via composition.

What is the Abstract Factory Pattern?

400

A common mistake made when trying to use this design pattern is falsely assuming that multiple methods implemented in the base class and then overridden in the derived class successfully fulfills the requirements of this design pattern.

What is a template pattern?

500

A class which has implementation of all of its inherited members either from interface or abstract class.

What is a concrete class?
500

The ability to refer to different derivations of a class in the same way but getting the behavior appropriate to the  derived class.

What is Polymorphism?

500

This pattern is often implemented by the programming language, but is also useful to implement for your classes which easily allows the traversal of a list or collection of objects.

What is an Iterator?

500

This pattern allows behavior to be added to objects dynamically.

What is the Decorator Pattern?

500

These two patterns look and feel similar, but are distinct. One merely allows the selection of an algorithm at runtime, while the other allows the implementation of various abstractions to be varied

What are the bridge and strategy patterns?

M
e
n
u