What are instance variables, and what role does the name self play in the context of a class definition?

Number your answers with the same numbers of the Exercise.

1.What are instance variables, and what role does the name self play in the context of a class definition?

2.Explain what a What are instance variables, and what role does the name self play in the context of a class definition? does.

3.Explain what the _str_ method does and why it is a useful method to include in a class. The Student class has no mutator method that allows a user to change a student’s name.

4.Define a method set Name that allows a user to change a student’s name. The method get Age expects no arguments and returns the value of an instance variable named self. age. Write the code for the definition of this method.

5.How is the lifetime of an object determined? What happens to an object when it dies?