
Python Design Patterns Quiz

Quiz
•
English
•
1st Grade
•
Medium
Айша Асылбек
Used 1+ times
FREE Resource
49 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When is __new__ executed?
Before __init__
After __init__
Instead of __init__
During class destruction
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What best describes a metaclass?
A superclass for all exceptions
A class that creates other classes
A decorated method
An abstract base class
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the Singleton pattern ensure?
Only one instance exists
Multiple interchangeable algorithms
One-to-many notifications
Dynamic behavior addition
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which pattern delegates object creation to subclasses?
Observer
Factory Method
Decorator
Strategy
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the Observer pattern, who receives updates?
The main subject
Registered observers
Factory objects
Decorator classes
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the Decorator pattern do?
Adds responsibilities dynamically
Ensures single instance
Creates object families
Encapsulates algorithms
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which pattern selects algorithms at runtime?
Singleton
Strategy
Observer
Factory
Create a free account and access millions of resources
Similar Resources on Wayground
52 questions
英検4級単語 EIKEN 4 words

Quiz
•
1st - 12th Grade
50 questions
capital letter, full stop, comma

Quiz
•
1st - 2nd Grade
45 questions
Pronouns -ELA 6

Quiz
•
KG - University
50 questions
LET Reviewer - General Education (1-50)

Quiz
•
KG - Professional Dev...
50 questions
Little Devils Q1

Quiz
•
1st - 5th Grade
53 questions
Simulation for the first grade

Quiz
•
1st Grade
46 questions
GLOBAL CHALLENGE 2025 - MOVERS - DAY 15

Quiz
•
1st - 5th Grade
45 questions
English Clinic - Intro - Test

Quiz
•
1st Grade
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for English
18 questions
D189 1st Grade OG 1c Concept 37-38

Quiz
•
1st Grade
20 questions
Subject and predicate in sentences

Quiz
•
1st - 3rd Grade
10 questions
Exploring Force and Motion Concepts

Interactive video
•
1st - 5th Grade
12 questions
Indefinite pronouns

Quiz
•
1st Grade
8 questions
Central Idea & Supporting Details

Quiz
•
1st - 5th Grade
20 questions
Prefixes Un,Re,Dis,Pre

Quiz
•
1st - 3rd Grade
20 questions
Digraphs

Quiz
•
1st Grade
10 questions
Exploring Common and Proper Nouns

Interactive video
•
1st - 5th Grade