Chapter 11: Python Objects and Class

 

Results

QUIZ START

#1. _______ is an object oriented programming language.

Next

#2. _____ is simply a collection of data and methods that act on those data.

Previous
Next

#3. _______ is a blueprint for the object.

Previous
Next

#4. We define a class using the keyword ________

Previous
Next

#5. An object is also called an ______ of a class.

Previous
Next

#6. The process of creating this object is called _________

Previous
Next

#7. A _______ creates a new local namespace where all its attributes are defined.

Previous
Next

#8. _________ may be data or functions.

Previous
Next

#9. There are also special attributes in it that begins with double ____________

Previous
Next

#10. A _______ is a special kind of method that python calls when it instantiates an object using the definitions found in our class.

Previous
Next

#11. _________ can also verify that there are enough resources for the object and perform any other start-up task.

Previous
Next

#12. The constructor can accept arguments when necessary to create the ______

Previous
Next

#13. Any attribute of an object can be deleted anytime, using the _____ statement.

Previous
Next

#14. The non-method data stored by objects are called _______

Previous
Next

#15. ______ attributes are variables owned by a particular instance of a class.

Previous
Next

#16. ______ attributes are owned by the class as a whole, all class instances share the same values.

Previous
Next

#17. Class attributes is also called _______ variables in some languages.

Previous
Next

#18. ______ attributes are defined within a class definition and outside of any method.

Previous
Next

#19. In python, there is no existence of _____ instance variables which cannot be accessed except inside an object.

Previous
Next

#20. _______ objects gives us information about objects we are working with.

Previous
Next

#21. Destructor is an equivalent destructor special method called ________

Previous
Next

#22. ______ manages garbage collection of objects.

Previous
Next

#23. ________ in python are methods which provide special processing before instances are deallocated.

Previous
Next

#24. ______ does not provide any internal mechanism to track how many instances of a class have been created nor to keep tabs on what they are.

Previous
Next

#25. The automatic destruction of unreferenced objects in python is also called _______ collection.

Previous
Finish