Question: Write a program that helps a faculty member prepare his semester result and calculate grades of the students. Table 2 show a typical data that

Write a program that helps a faculty member prepare his semester result and calculate grades of the students. Table 2 show a typical data that a faculty member would have towards the end of the semester for any course.

Write a program that can do the following:?

1. Create string arrays to store student registration number and name?

2. Create double arrays to store Midterm marks and Final exam marks?

3. Create two two-dimensional arrays for at least six quizzes and six assignments?

4. Calculate the final score for each student by adding Midterm, Quizzes Total, Assignments Total and Final exam score. Weightages are: Midterm 25%, Quizzes 10%, Assignments 15%, and Final Exam 50%.?

5. Assign Grade and GPA to each student based on the final score, for reference use Table 3. 6. Your program should also ask the user if he/she wants to select best of four quizzes and assignments and print alternate grades. Note: Input validation is mandatory, negative values are not allowed. Table 2: Course data QUIZZES (10) Reg No. Midterm (25) Assignments (15) Grade Final Exam (50) Final Score Total 25 13 8 6 6 6Table 3: Grading criteria Points 4.00 4.00 3.67 3.33 3.00 2.67 2.33 2.00 1.67 1.33 1.00 0.00 100 = 90 = 86 = 82 = 78 = 7

Write the code in C++.You are not allowed to use the string data type and the string library.(C.string) can be used.

Reg No. Midterm (25) 13 17 11 11 Q1 8 6 00 00 0 8 9 8 8 5 6 N 7 5 4 Table 2: Course data QUIZZES (10) 6 5 6 5 4 3 1 0 3 moo 0 0 0 0 3 0 0 0 0 0 0 Total 6688A1 10 6 6 10 5 3 10 10 Assignments (15) A2 7 7 7 7 A3 7 7 7 7 A4 0 0 0 0 Total Final Exam (50) Final Grade Score 45 70 AL 86 60 FBAU C Table 3: Grading criteria Grade A+ A A- B+ B B- C+ C D+ DF Points 4.00 4.00 3.67 3.33 3.00 2.67 2.33 2.00 1.67 1.33 1.00 0.00 100 >= 90 >= 86 >= 82 >= 78 >= 74 >= 70 >= 66 >= 62 >= 58 >= 54 >= 50

Step by Step Solution

3.39 Rating (152 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

cpp include include using namespace std const int NUMQUIZZES 9 const int NUMASSIGNMENTS 4 const int NUMSTUDENTS 4 double calculateWeightedScoredouble ... View full answer

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