Objectives 1.To be able to implement a class. 2.To be able to build an applicati
ID: 3557939 • Letter: O
Question
Objectives
1.To be able to implement a class.
2.To be able to build an application using objects and their methods
Overview
Write a class to represent a student. Every student has a name, a record of the courses they have taken, current total credits earned, and current total grade points. A new student initially has an empty record, no earned credits, and no grade points. These are updated each time that a student completes a course; the course information includes the course-number, the course-credits, and a letter grade for the course (A, B, C, D, or F).
A substantially completed client is provided to test your implementation by instantiating s student objects, adding several courses to each student, and displaying each student, their GPA and their eligibility to register for another course, COP3337:
Missey Muffet
CHM1032 (3) B
ENC1101 (4) A
EVR1017 (3) A
GLY1010 (3) B
MAC2311 (3) C
MUH2116 (3) B
19 Credits
61 Grade Points
GPA: 3.21
Can NOT take COP3337
Georgie Porgy
COP2210 (4) A
ENC1101 (4) D
MAC2311 (3) B
MAD2104 (3) B
MUH2116 (3) C
PHY2048 (3) C
20 Credits
50 Grade Points
GPA: 2.50
Can take COP3337
Jill Tumbling
COP2210 (4) D
EVR1017 (3) A
MUH2116 (3) B
PHI2011 (3) A
SYG2000 (3) A
16 Credits
49 Grade Points
GPA: 3.06
Can NOT take COP3337
You must supply the missing statements to complete the client program.
Specific Requirements
1.Design and implement a Student class. The instance variables are suggested in the overview above. You must provide
i)A constructor that accepts a Student
Missey Muffet
CHM1032 (3) B
ENC1101 (4) A
EVR1017 (3) A
GLY1010 (3) B
MAC2311 (3) C
MUH2116 (3) B
19 Credits
61 Grade Points
GPA: 3.21
Can NOT take COP3337
Georgie Porgy
COP2210 (4) A
ENC1101 (4) D
MAC2311 (3) B
MAD2104 (3) B
MUH2116 (3) C
PHY2048 (3) C
20 Credits
50 Grade Points
GPA: 2.50
Can take COP3337
Jill Tumbling
COP2210 (4) D
EVR1017 (3) A
MUH2116 (3) B
PHI2011 (3) A
SYG2000 (3) A
16 Credits
49 Grade Points
GPA: 3.06
Can NOT take COP3337
Explanation / Answer
I think it is one of the best solution given, its properly iterated and commented.It is good as it is no need to add something else.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.