GofPattern
SiteMap
Design Patterns Course
Behavioral Patterns
Creational Patterns
Structural Patterns
Design Patterns
«Prev
Next»
Design Patterns
Defining Patterns
Design Challenges
Pattern Concept
Design Pattern Components
Big-O Notation
Design Pattern Benefits
Three Types Design Patterns
Design Pattern Scope
Traffic Signals Project
Patterns Conclusion
Singleton Patterns
Design Pattern Elements
Intent Motivation
Pattern Applicability
Singleton Pattern Structure
Singleton Pattern-Quiz
Participants Collaborations
Consequences Effects
Class Implementation
Real World Examples
Substitute Patterns
Extension Variation Pattern
Course Project
Perfect Singleton
Pattern Conclusion
Creational Patterns
Creational Design Pattern
Creational Pattern Uses
Common Creational Patterns
Factory Pattern
Factory Method-Exercise
Factory Method Structure
Factory Method Consequences
Structural Patterns
Structural Pattern Example
StructuralPatterns Help Programmers
Patterns Help Programmers
Common Structural Patterns
Flyweight Pattern Motivation
Flyweight Suitability
FlyweightPattern Structure
FlyweightConsequences
Class Vehicles Intersection
Structural Patterns Conclusion
Behavioral Patterns
Define Behavioral Patterns
BehavioralPatterns Help Programmers
Common Behavioral Patterns
Observer Pattern Motivation
ObserverStructure TimeObserver Interface
TimeClass AsObserved Object
Observer Pattern Tradeoffs
Problems Require Mediator
Mediator Pattern Applicability
Mediator Pattern Structure
Benefits Pitfalls MediatorPattern
MediatorClass Course Project
Behavioral DesignPatterns Conclusion
Designing Software
How to Choose Pattern
How To Apply Pattern
Lessons Learned
Combine Design Patterns
Design Pattern Limitations
Traffic flow System
Course Conclusion
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