.Net Design Patterns Quiz

10 Questions | Attempts: 261
Share

SettingsSettingsSettings
.Net Design Patterns Quiz - Quiz

Design patterns provides solutions to problems as regard software design. When designing an application, the best way a programmer can solve any problem that erupts is by using design patterns. Click the start button and get started. Good Luck!


Questions and Answers
  • 1. 
    Which of the following behavioural patterns sequentially access the elements of a collection?
    • A. 

      Chain of Resp.

    • B. 

      Command

    • C. 

      Iterator

    • D. 

      Interpreter

  • 2. 
    The behavioural pattern that defines simplified communication between classes is
    • A. 

      Mediator

    • B. 

      Momento

    • C. 

      Observer

    • D. 

      State

  • 3. 
    The following are creational design patterns except:
    • A. 

      Factory Method

    • B. 

      Adapter

    • C. 

      Abstract Factory

    • D. 

      Builder

  • 4. 
    Behavioural patterns include the following except:
    • A. 

      Observer

    • B. 

      State

    • C. 

      Strategy

    • D. 

      Proxy

  • 5. 
    Which of the following creational design patterns creates a set of related objects or dependent objects?
    • A. 

      Prototype

    • B. 

      Abstract Factory

    • C. 

      Singleton

    • D. 

      Builder

  • 6. 
    Which of these is not a structural design pattern? 
    • A. 

      Adapter

    • B. 

      Composite

    • C. 

      Proxy

    • D. 

      Visitor

  • 7. 
    Which of these design patterns allows an object to alter its behavior when its internal state changes?
    • A. 

      State

    • B. 

      Prototype

    • C. 

      Visitor

    • D. 

      Mediator

  • 8. 
    Proxy pattern falls under what design pattern? 
    • A. 

      Structural

    • B. 

      Creationa Creational

    • C. 

      Behavioural

    • D. 

      None of the above

  • 9. 
    Which of these design patterns is used to process a list or chain of various types of request?
    • A. 

      MVVM Design

    • B. 

      MVP Design

    • C. 

      Chain of Responsibility Design

    • D. 

      MVC Design

  • 10. 
    The design pattern that involves the removal of an algorithm from its host class and putting it in a separate class is
    • A. 

      State Design Pattern

    • B. 

      Observer Design Method

    • C. 

      Visitor Design Pattern

    • D. 

      Strategy Design Pattern

Related Topics

Back to Top Back to top
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.