Test Your Knowledge: Quiz

  1. What is the main point of OOP in Python?

  2. Where does an inheritance search look for an attribute?

  3. What is the difference between a class object and an instance object?

  4. Why is the first argument in a class’s method function special?

  5. What is the __init__ method used for?

  6. How do you create a class instance?

  7. How do you create a class?

  8. How do you specify a class’s superclasses?