Design Patterns Flashcards

1
Q

Reusable solutions to common software design problems.

A

Design Patterns

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Ensures that a class has only one instance and provides a global point of access to it

A

Singleton pattern

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Creates objects without specifying the exact class to create

A

Factory Pattern

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

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

A

Observer Pattern

How well did you know this?
1
Not at all
2
3
4
5
Perfectly