Loading, please wait...

Design Patterns MCQ Quiz (Multiple Choice Questions And Answers)

Search here for MCQs

Are you preparing for the next job interviews? If yes, trust me this post will help you also we'll suggest you check out a big collection for Programming Full Forms that may help you in your interview:

List of Programming Full Forms 

16. Which one pattern creating duplicate object?

  • Filter Pattern
  • Prototype Pattern
  • Bridge Pattern
  • Builder Pattern

17. Can We Create A Clone Of A Singleton Object?

  • True
  • False

18. Which of the following describes the Builder pattern correctly?

  • This pattern builds a complex object using simple objects and using a step by step approach.
  • This pattern refers to creating duplicate object while keeping performance in mind.
  • This pattern is used when creation of object directly is costly.
  • This pattern is used when we need to decouple an abstraction from its implementation so that the two can vary independently.

19. In which of the following pattern a class represents functionality of another class?

  • Proxy Pattern
  • Chain of Responsibility Pattern
  • Command Pattern
  • Interpreter Pattern

20. Which of the following describes the MVC pattern correctly?

  • In this pattern, a visitor class is used which changes the executing algorithm of an element class.
  • This pattern is used to separate application's concerns.
  • This pattern is used to decouple presentation tier and business tier.
  • This pattern is used in EJB persistence mechanism.