// Object-oriented programming

Object-oriented programming Quiz

// question 1 of 10
What is the correct way to avoid mutable default argument issues?
// question 2 of 10
What does NotImplementedError signal in an abstract method?
// question 3 of 10
What is the correct syntax for a child class inheriting from Animal?
// question 4 of 10
What is a property setter?
// question 5 of 10
What does the pass keyword do inside an empty class body?
// question 6 of 10
What is tight coupling in OOP?
// question 7 of 10
What does __str__ define?
// question 8 of 10
What is the single responsibility principle?
// question 9 of 10
What is the purpose of VALID_STATUSES as a class attribute?
// question 10 of 10
What happens if you forget to write self.name equals name in __init__?