Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This assignment should be done in classes, not structs. The classes are student, students, course, courses, enrollment and enrollments. Each class should use some of
This assignment should be done in classes, not structs. The classes are student, students, course, courses, enrollment and enrollments. Each class should use some of the 12 functions(located on the first page). It should be done in c++. Please do it as soon as possible. Thank you.
CSCE 1040 Homework 2 For this assignment we are going to build a simple Grade Book using classes For the purposes of this grade book you should first provide a menu with the following options 1. Add a new course 2. Add a new student 3. Add a student to a course (add enrollment) 4. Add grades for a student in a course 5. Print a list of all grades for a student in a course 6. Print a list of all students in a course 7. Compute the average for a student in a course 8. Print a list of all courses 9. Print a list of all students 10. Compute the average for a course 11. Store Grade book (to a disk file) 12. Load Grade book (from a disk file) Each of these menu items should correspond to a function you will write For this program you will create a class to represent each of the basic entities, as we as a class to represent each of the collections. For the collections you should use a dynamically-sized arrays of objects Student should have an ID, a name, and a classification and any other fields you need Course should have and ID, a name, a location and a meeting time and any other fields you feel are necessary Enrollment should have a ID, a student ID, a course ID and a list of up to 10 grades, an average grade and a letter grade based on a standard 90/80/70 grading rubric with rounding Grades will be whole numbers only (no fractional part). Averages will be saved and displayed as floating point values to the hundredths position CSCE 1040 Homework 2 For this assignment we are going to build a simple Grade Book using classes For the purposes of this grade book you should first provide a menu with the following options 1. Add a new course 2. Add a new student 3. Add a student to a course (add enrollment) 4. Add grades for a student in a course 5. Print a list of all grades for a student in a course 6. Print a list of all students in a course 7. Compute the average for a student in a course 8. Print a list of all courses 9. Print a list of all students 10. Compute the average for a course 11. Store Grade book (to a disk file) 12. Load Grade book (from a disk file) Each of these menu items should correspond to a function you will write For this program you will create a class to represent each of the basic entities, as we as a class to represent each of the collections. For the collections you should use a dynamically-sized arrays of objects Student should have an ID, a name, and a classification and any other fields you need Course should have and ID, a name, a location and a meeting time and any other fields you feel are necessary Enrollment should have a ID, a student ID, a course ID and a list of up to 10 grades, an average grade and a letter grade based on a standard 90/80/70 grading rubric with rounding Grades will be whole numbers only (no fractional part). Averages will be saved and displayed as floating point values to the hundredths positionStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started