python代写-student class assignment

Python Assignment 5

Create each of the following (objects in separate files) and a test file for each one.

Person (person.py, testPerson.py)

firstName lastName birthday gender

Student (student.py, testStudent.py) [subclass of Person]

identificationNumber

classRank (from Freshman, Sophomore, Junior, Senior) gPA

major semestersAttended numberOfCreditsTaken numberOfCreditsPassed

register(semester, listOfCourses) getGPA()

canGraduate() getTranscript()

recordGrade(semester, courseNumber, section, grade)

Major (major.py, testMajor.py)

name numberOfCreditRequired

Semester (semester.py, testSemester.py)

year

term (from Fall, Spring, Summer) listOfCouesesTaken

gPA startDate length

numberOfCreditsTaken numberOfCreditsPassed

register(listOfCoursess) # Pass a list of course numbers to the method. isFullTime()

Course (course.py, testCourse.py)

name number section

numberOfCredits grade

startDate

length (in weeks)

passed() isOver()

Prof. Arana Fireheart