Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can someone please help writing this code? Not really good at this stuff. You will have three different classes in which you will need to

Can someone please help writing this code? Not really good at this stuff. You will have three different classes in which you will need to label so I know when the next class starts because I will need to submit with three java files. Also, please have comments so I can understand how you did what you did. This is in Java! Thank you for all your help it will be greatly appreciated.

Write classes to represent a student's transcript. You will have 3 classes, a 'course' class that describes a single academic class, a student class to describe a student, and a transcript class to keep the list of classes a student has taken.

Your classes should have the following fields:

course:

prefix (like CS or MATH)

number (like 180)

grade (A,B,C,D,or F)

credit hours

student:

name

id number (WKU id's are too long for an int, so use a 'long' type)

transcript

transcript

courselist - an array of courses (you may assume no more than 50 classes)

number of classes - the actual number of classes completed

The student object should have the following methods (although these might get support from methods in the other classes):

printTranscript() -- display the transcript

getCreditHrs() -- returns the total number of credit hours earned

getUpperHrs() -- returns the total number of upper division hours earned. Upper division courses are those with numbers 300 and highter (CS 180 is NOT upper division, CS 325 IS upper division)

gpa() -- return the student's grade point average.

If you have never calculated a GPA, here is a sketch of how to do it:

for each class

covert grade to numeric value (A->4, B->3, C->2, D->1, F->0)

multiply the numeric grade by the credit hours to give quality points

add quality points to running total

gpa is the running total of quality points divided by the total number of credit hours.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Creating A Database In Filemaker Pro Visual QuickProject Guide

Authors: Steven A. Schwartz

1st Edition

0321321219, 978-0321321213

More Books

Students also viewed these Databases questions