Quiz- GoF Design Patterns (II)

10 Questions

Settings
Please wait...
Design Quizzes & Trivia

The quiz test you knowledge about GoF design patterns as introduced in "Design Patterns" Element of Reusable Object Oriented Software.


Questions and Answers
  • 1. 
    Which one of the following is not a participant in Abstract Factory pattern?
    • A. 

      AbstractFactory

    • B. 

      ConcreteFactory

    • C. 

      AbstractProduct

    • D. 

      ConcreteCreator

  • 2. 
    Which one of the following is not a participant in Builder pattern?
    • A. 

      Builder

    • B. 

      ConcreteBuilder

    • C. 

      Producer

    • D. 

      Product

  • 3. 
    Which one of the following is not a participant in Factory Method pattern?
    • A. 

      Creator

    • B. 

      Product

    • C. 

      ConcreteProduct

    • D. 

      Factory

  • 4. 
    Which one of the following is not a participant in Prototype pattern?
    • A. 

      Product

    • B. 

      ConcretePrototype

    • C. 

      Client

    • D. 

      Prototype

  • 5. 
    Which one of the following is not a participant in Adapter pattern?
    • A. 

      Target

    • B. 

      Client

    • C. 

      Adaptee

    • D. 

      ConcreteTarget

  • 6. 
    Which one of the following is not a participant in Bridge pattern?
    • A. 

      Abstraction

    • B. 

      Bridge

    • C. 

      RefinedAbstraction

    • D. 

      Implementor

  • 7. 
    Which one of the following is not a participant in Composite pattern?
    • A. 

      Component

    • B. 

      Node

    • C. 

      Composite

    • D. 

      Client

  • 8. 
    Which one of the following is not a participant in Decorator pattern?
    • A. 

      Component

    • B. 

      ConcreteComponent

    • C. 

      Decorator

    • D. 

      Subject

  • 9. 
    Which one of the following is not a participant in Proxy pattern?
    • A. 

      Proxy

    • B. 

      ConcreteProxy

    • C. 

      Subject

    • D. 

      RealSubject

  • 10. 
    Which one of the following is not a participant in Flyweight pattern?
    • A. 

      Flyweight

    • B. 

      ConcreteFlyweight

    • C. 

      SharedConcreteFlyweight

    • D. 

      UnsharedConcreteFlyweight