
Python Design Patterns Quiz
Quiz
•
English
•
1st Grade
•
Practice Problem
•
Medium
Айша Асылбек
Used 2+ times
FREE Resource
Enhance your content in a minute
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
45 questions
1st AD Final Test Review Mixed Language Use + Vocabular
Quiz
•
1st Grade
50 questions
5th and 6th student's task
Quiz
•
1st - 5th Grade
48 questions
Simple present and continous present
Quiz
•
1st - 12th Grade
46 questions
Grammar Quiz! :D
Quiz
•
KG - 3rd Grade
50 questions
Subject-Verb Agreement
Quiz
•
1st - 10th Grade
50 questions
English Assessment Grade 1-5
Quiz
•
1st - 5th Grade
50 questions
English Assessment Level 1
Quiz
•
1st Grade
49 questions
Ratatouille
Quiz
•
1st - 3rd Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for English
20 questions
CVC Words
Quiz
•
KG - 1st Grade
17 questions
Reading Comprehension
Quiz
•
1st - 4th Grade
10 questions
Exploring Informational Text Structures in English
Interactive video
•
1st - 5th Grade
20 questions
Nonfiction Text Features
Quiz
•
1st - 3rd Grade
10 questions
Exploring Natural Resources
Interactive video
•
1st - 5th Grade
10 questions
R-controlled vowels
Quiz
•
1st - 2nd Grade
10 questions
Exploring Text Features and Structures
Interactive video
•
1st - 5th Grade
15 questions
Author's Purpose
Quiz
•
1st - 3rd Grade
