Home / CSE MCQs / Design Pattern ::

CSE MCQs :: Design Pattern

  1. Which of the following pattern refers to creating duplicate object while keeping performance in mind?
  2. A.
    Builder Pattern
    B.
    Bridge Pattern
    C.
    Prototype Pattern
    D.
    Filter Pattern

  3. Define the skeleton of an algorithm in an operation, deferring some steps to subclasses. It lets subclasses redefine certain steps of an algorithm without changing the algorithm structure.
  4. A.
    Chain of responsibility
    B.
    Template method
    C.
    Interpretor
    D.
    Prototype

  5. Which design pattern provides a single class which provides simplified methods required by client and delagates call to those methods?
  6. A.
    Adapter pattern
    B.
    Builder pattern
    C.
    Facade pattern
    D.
    Prototype pattern

  7. In which of the following pattern, a visitor class is used which changes the executing algorithm of an element class?
  8. A.
    Visitor Pattern
    B.
    MVC Pattern
    C.
    Business Delegate Pattern
    D.
    Composite Entity Pattern

  9. Which of the following Chooses and standardizes patterns for a problem domain promotes software reuse and, hence, quality and productivity?
  10. A.
    Promoting Communication
    B.
    Streamlining Documentation
    C.
    Increasing Development Efficiency
    D.
    Supporting Software Reuse

  11. Attach additional responsibilities to an object dynamically.It provides a flexible alternative to subclassing for extending functionality.
  12. A.
    Chain of responsibility
    B.
    Adapter
    C.
    Decorator
    D.
    Composite

  13. A pattern language
  14. A.
    encompasses a collection of patterns
    B.
    is implemented using hypertext
    C.
    resembles the structure of natural languages
    D.
    None of the above

  15. Which design pattern suggest multiple classes through which request is passed and multiple but only relevant classes carry out operations on the request?
  16. A.
    Singleton pattern
    B.
    Chain of responsibility pattern
    C.
    State pattern
    D.
    Bridge pattern

  17. Most user interface design patterns fall with in one of ____ categories of patterns.
  18. A.
    5
    B.
    10
    C.
    25
    D.
    100

  19. Which of the following are levels of design focus that can be used to categorize WebApp patterns?
  20. A.
    Behavioral patterns
    B.
    Functional patterns
    C.
    Layout patterns
    D.
    Navigation patterns
    E.
    Both b and d