Test Your Knowledge: Quiz

 

 
  1. How are classes related to modules?
  2. How are instances and classes created?
  3. Where and how are class attributes created?
  4. Where and how are instance attributes created?
  5. What does self mean in a Python class?
  6. How is operator overloading coded in a Python class?
  7. When might you want to support operator overloading in your classes?
  8. Which operator overloading method is most commonly used?
  9. What are the two key concepts required to understand Python OOP code?