- Executors
-
Learn
Learn Python Runnable examples, NumPy, pandas, and more Learn AI / Machine LearningNeural networks, ML and LLMs from scratch Learn C & C++ Pointers, memory, STL, and modern C++ Learn C#C# basics, OOP, LINQ, async, and .NET exercises Learn MatplotlibLine, bar, scatter and pie charts with live visualizers Learn RustOwnership, traits, error handling, and threads Learn GoSlices, interfaces, goroutines, and channels Python Algorithms Search, sorting, recursion, and visualizers O(n) C & C++ Algorithms Compare algorithms implemented in C and C++ Coding for Kids Learn to code by playing!
- QuizzesNew
- ChallengesNew
- For TeachersNew
- Updates
- Buy me a coffee
Python OOP Quiz
Build your own types with classes. Practice objects, __init__ and self, inheritance, dunder methods and properties, the tools behind every Python library you use.
Intermediate
5 quizzes · 50 questions
about 32 minutes
0/5passed
Category exam
20 mixed questions. 80% earns a certificate.
1
Classes & Objects
Easy
Learn how classes, objects, class attributes and instance attributes fit together.
#oop#classes
10 questions · ~5 min
Not started
Start
2
__init__ & self
Easy
Set up new objects with __init__ and understand what self really is.
#oop#constructors
10 questions · ~5 min
Not started
Start
3
Inheritance
Medium
Reuse and extend classes with inheritance, method overriding and super().
#oop#inheritance
10 questions · ~6 min
Not started
Start
4
Dunder Methods
Hard
Make your classes work with print, ==, +, len, in, sorted and function calls.
#oop#dunder-methods
10 questions · ~8 min
Not started
Start
5
Properties & Class Methods
Hard
Use @property, setters, @classmethod and @staticmethod, and avoid their traps.
#oop#properties
10 questions · ~8 min
Not started
Start
No quiz matches. Try another word or tag.