D) (20 pts.) Add the following methods to the Student class your created in the
ID: 3802450 • Letter: D
Question
D) (20 pts.) Add the following methods to the Student class your created in the previous problem: -grade_level - returns the current grade level of a student (1 = less than 30 credits, 2 = 30-59 credits, 3 = 60-89 credits, 4 = 90 or more credits) -display_gpa - calcuates and returns a student's gpa based on their hours and qpoints -add_grade - modifies a students hours and qpoints based on provided course grade ('A','B','C','D','F') and the credits associated with that grade. Demonstrate the correctness of your program with a couple sample test cases.
class person (object):
def __init__(name,hours,qpoints):
self.name=name
self.hours= hours
self.qpoints= qpoints
def getName (self):
return self.name
def gethours (hours):
return self.hours
def getqpoints (self):
return self.qpoints
def _str_ (self):
return "person" (self.name, self.hours, self.qpoints)
Explanation / Answer
Full-Time Students
A full-time student is enrolled in 12 credits per semester. Most financial aid requires students to be enrolled in a minimum of 12 credits to receive full benefits, although some academic scholarships require 15 credits per semester.
In order to graduate with a bachelor’s degree in four years, students will need to enroll in at least 15 credits during each Fall and Spring semester or take additional credits in Summer.
Excess Credit
Registering for excess credit (over 20 credits per semester) requires a minimum cumulative 3.0 GPA and permission from one of the following:
Additional tuition is assessed when students register for more than 20 credits. See Tuition and Fee Schedule in this catalog.
Classes / Credits
DSU is required by Federal regulations to comply with these minimum standards for a semester credit hour:
Definitions
Adding Classes
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.