Programming Hard

CS Fundamentals: Design Patterns (GoF)

Test your knowledge of the classic Gang of Four design patterns — the reusable, battle-tested solutions to common object-oriented design problems.

Questions cover creational patterns like Singleton and Factory, structural patterns like Adapter, and behavioral patterns like Observer and Strategy.

These patterns show up constantly in real codebases and interviews alike — see how many you can recognize.

Start quiz → Opens in a new tab on Cletica
Sample questions3 of 15 shown
Q1
Which design pattern is used to create objects without specifying the exact classes to instantiate?
Q2
What is the primary intent of the Singleton pattern?
Q3
Which of the following are Creational design patterns? (Select all that apply)
Answer all 15 questions on Cletica →

What This Quiz Covers

Cletica

Want to create your own quiz?

Build surveys and quizzes, share with anyone, collect responses — free to start.

Try Cletica for free →