GofPatterns
SiteMap
Design Patterns Course
Behavioral Patterns
Creational Patterns
Structural Patterns
Design Patterns
«Prev
Next»
Design Patterns
Defining Patterns
Three Types Design Patterns
Behavioral Creational Structural
Design Pattern Components
Design Pattern Benefits
Design Pattern Scope
Three Categories Patterns
Singleton Patterns
Singleton Pattern-Quiz
Real World Examples
Design Pattern Elements
Creational Patterns
Factory Method Consequences
Factory Method-Exercise
Common Creational Patterns
Structural Patterns
Structural Pattern Example
Patterns Help Programmers
Common Structural Patterns
Flyweight Pattern
Flyweight Consequences
GOF Structural Patterns
Adapter Bridge Composite
Flyweight Suitability
Behavioral Patterns
Define Behavioral Patterns
Mediator Pattern Applicability
Observer Pattern Tradeoffs
Designing Software
How to Choose Pattern
Combine Design Patterns
Design Pattern Limitations
How To Apply Pattern
Why use Design Patterns? - Quiz
Each question is worth one point. Select the best answer or answers for each question.
1.
A design pattern is:
Please select the best answer
.
A.
an algorithm used in object-oriented programming
B.
a data structure used in object-oriented programming
C.
a solution to a common problem in object-oriented programming
D.
a blueprint for a particular kind of class
2.
Which of the following programming languages is best suited to design patterns?
Please select the best answer
.
A.
Java
B.
C
C.
Cobol
D.
HTML
3.
Which of the following techniques is a direct benefit of design patterns?
Please select the best answer
.
A.
Faster analysis
B.
Faster coding
C.
Ease of testing solutions
D.
Modifying the program is easier
4.
Which of the following matters least in the use of a design pattern?
Please select the best answer
.
A.
The pattern's name
B.
The problem the pattern solves
C.
The source code that implements the pattern
D.
The consequences of using the pattern
5.
Design pattern is to program as:
Please select the best answer
.
A.
Metal is to car
B.
Park is to tree
C.
Blueprint is to building
D.
Mountain Dew is to soda
Correct answers:
Your Score: 0
Submit
Quiz Explanation
Microservices Patterns