Skills101
← All practice quizzes

Quiz: Design Patterns

5 questionsNo time limitPass: 60%+10 XP on first pass

Four patterns every fresher should know, each with the problem it solves, a short runnable example, and where you've already seen it in real apps.

Log in to take the quiz

Free account · see your score, answers and explanations, earn XP

  1. Question 1

    Which pattern ensures a class has only one instance?

  2. Question 2

    YouTube notifying all subscribers when a video is uploaded is an example of:

  3. Question 3

    Choosing a delivery-fee calculation (standard/express/free) at runtime is the:

  4. Question 4

    Why is a Singleton's constructor private?

  5. Question 5

    Factory, Singleton and Builder belong to which group?