GofPatterns Gofpatterns  





Design Patterns  «Prev  Next»

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

Score =
Correct answers:

Patterns of Application ArchitecturePatterns of Application Architecture