Question: Section 8 : The Student class This class inherits from the Person class and is heavy extended for additional functionality. Attributes, methods, and special methods

Section 8: The Student class
This class inherits from the Person class and is heavy extended for additional functionality. Attributes, methods, and special methods inherited from Person are not listed in this section. The implementation of Course, Catalog, Semester, Loan and StudentAccount is needed for complete functionality for instances of this class, and you are expected to use methods from some of those classes in this section. This class works in conjunction with other classes, CORRECT FUNCTIONALITY OF THIS CLASS IS WORTH 30% OF YOUR HW GRADE
Attributes
\table[[Type,Name,Description],[str,classCode,A string indicating the student's year ("Freshman", etc.).],[dict,semesters,A collection of Semester objects accessible by an integer (1-n)],[bool,hold,Indicates a hold on the student's account, defaults to False.],[bool,active,Indicates if the student is actively enrolled, defaults to True.],[StudentAccount,account,\table[[Creates and sets a StudentAccount object with the student's],[information to keep track of the student's balance.]]]]
Methods
\table[[Type,Name,Description],[str,id(self),Property method for generating student's id.],[StudentAccount,_ create StudentAccount (self),Creates a StudentAccount object.],[(many),registerSemester(self),Creates a Semester object.]]
Section 8 : The Student class This class inherits

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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!