1 The scope of an instance variable is
a the statements in the body of the method where it is introduced
b the entire class in which it is introduced
c the entire module where it is introduced
3 An object’s lifetime ends
a several hours after it is created
b when it can no longer be referenced anywhere in a program
c when its data storage is recycled by the garbage collector
4 A class variable is used for data that
a all instances of a class have in common
b each instance owns separately
4 Class B is a subclass of class A. The __init__ methods in both classes
expect no arguments. The call of class A’s __init__ method in class B is
a A.__init__()
b A.__init__(self)