Question: it's a python language class assignment Class Composition Assignment A In this assignment, you will create a class with a data member of the type

Class Composition Assignment A In this assignment, you will create a class

it's a python language class assignment

Class Composition Assignment A In this assignment, you will create a class with a data member of the type of a class you defined. Student is a person with a major, a start date and a gpa. Use the Person class defined above. Define a Student class with methods change_major(), update_gpa() and display() that returns a string. Include a driver that Creates a student object (select a meaningful name) with your name, major, start date and 4.0 gpa Displays the student Changes the major to 'Being Awesome!' Updates the gpa to 3.0 Displays the student Performs garbage collection This is worth 10 points.

Step by Step Solution

3.48 Rating (155 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Here is an example of how you could define the Student class in Python import gc for garba... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!