Question: Using Python DESCRIPTION Classes provide a great way to bundle information and functions. We will create a class called StudentRecord to record student academic information:

Using PythonUsing Python DESCRIPTION Classes provide a great way to bundle information and

DESCRIPTION Classes provide a great way to bundle information and functions. We will create a class called "StudentRecord" to record student academic information: 1. The class should contain attributes for recording "firstName", "lastName" to store First and Last names separately "dob" to store the student's Date of Birth "hsName", "hsCity", "hsState" to store High School name, city, and state information "degree" to store student's chosen Degree program "address" to store a string of the student's Address "transcript" to store a student's Grade history. The "transcript" object should be of a type that allows the storage of the course name "course", grade in the course "grade", the number of credits assigned to the course "credits", and the semester and year taken ("semester" and "year") for each course added to the transcript. The class should accept information for all variables listed above upon creation. I suggest also creating default values for each, as well. The class should include the following methods: "cum GPA" to return a float value of cumulative GPA "sem GPA" to return a float value of semester GPA. It should accept a number for the semester (1 or 2, for fall and spring, respectively), and a number for the year, then use these to calculate the GPA for that term. "credits" to count the number of credits a student has accumulated, and return that number as a float "newCourse" to add a course to the "transcript" object. This method should take the following parameters (in this order): O Course name o Year o Semester o Credits o Grade (as GPA points, not as a letter grade) scholarship" to determine scholarship eligibility based on the following cumulative GPA cutoffs: o 3.9 for a full-ride, o 3.63 for a half-tuition scholarship, and o 3.3 for a 1/4 tuition scholarship. All GPA's below the minimum scholarship cutoff receive no reward. o The method should return a string of "Full-ride" . "Half-tuition" . "Quarter-tuition" "Not Eligible Hint: You might want to create a separate class to handle courses that can be added to the transcript using the "newCourse" method. This separate class object should be handled behind the scenes, and not be used directly outside of the "StudentRecord" class. This is not strictly necessary, but is a good way to organize the necessary data. DESCRIPTION Classes provide a great way to bundle information and functions. We will create a class called "StudentRecord" to record student academic information: 1. The class should contain attributes for recording "firstName", "lastName" to store First and Last names separately "dob" to store the student's Date of Birth "hsName", "hsCity", "hsState" to store High School name, city, and state information "degree" to store student's chosen Degree program "address" to store a string of the student's Address "transcript" to store a student's Grade history. The "transcript" object should be of a type that allows the storage of the course name "course", grade in the course "grade", the number of credits assigned to the course "credits", and the semester and year taken ("semester" and "year") for each course added to the transcript. The class should accept information for all variables listed above upon creation. I suggest also creating default values for each, as well. The class should include the following methods: "cum GPA" to return a float value of cumulative GPA "sem GPA" to return a float value of semester GPA. It should accept a number for the semester (1 or 2, for fall and spring, respectively), and a number for the year, then use these to calculate the GPA for that term. "credits" to count the number of credits a student has accumulated, and return that number as a float "newCourse" to add a course to the "transcript" object. This method should take the following parameters (in this order): O Course name o Year o Semester o Credits o Grade (as GPA points, not as a letter grade) scholarship" to determine scholarship eligibility based on the following cumulative GPA cutoffs: o 3.9 for a full-ride, o 3.63 for a half-tuition scholarship, and o 3.3 for a 1/4 tuition scholarship. All GPA's below the minimum scholarship cutoff receive no reward. o The method should return a string of "Full-ride" . "Half-tuition" . "Quarter-tuition" "Not Eligible Hint: You might want to create a separate class to handle courses that can be added to the transcript using the "newCourse" method. This separate class object should be handled behind the scenes, and not be used directly outside of the "StudentRecord" class. This is not strictly necessary, but is a good way to organize the necessary data

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 Databases Questions!