Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please answer with Visual Studio C++ Key Concept: Functions, Arrays Computing gr

ID: 3690496 • Letter: P

Question

Please answer with Visual Studio C++

Key Concept: Functions, Arrays

Computing grades can be a tedious task. For this lab, you will generate code that will compute a student’s grade for a class. You will create several functions to help you compute a student’s final grade. For this Lab, we will read in the scores from an input file.

We will restrict the types of grades to six:

Homework

Quiz

Lab

Project

Exam

Final Exam

Your 1st Task: 5 Points

As you read this document, start to create the pseudocode for your program. Your pseudocode should hit upon every step of the program.

You must submit your Pseudocode into the Discussion Area when you begin working on the Lab. If you don’t submit it by the due date, you will automatically lose all 5 points.

Also, you will need to submit the pseudocode in your Lab Report.

Part I: Input Function (10 Points)

Write a function that will read in the data from a text file to store in the arrays. This function will have four parameters passed by reference:

Array for the scores

Array for the grade types

Array of the max points per score

Size of the arrays

Part II: Average Function (20 Points)

Write a function that will compute the average of a specific grade type. This function will have four parameters passed by value and return the average.

Array of scores

Array of grade types

Array of the max points per score

Size of the arrays

Part III: Calculate Final Grade Function (25 Points)

Write a function that will compute the student’s final grade based on the grade type averages and their weight (you can define these in the main) towards the final grade. The input parameters will be up to you determine/customize. Just make sure the function returns the final grade (numerical).

Part IV: Output Final Grade Function (25 Points)

Write a function that will output the numeric and letter grade for the student.

Explanation / Answer

Output:

Pointers are the same!                                                                                                                                          
Pointers are different!                                                                                                                                         
Pointers are the same!                                                                                                                                          
Pointers are different!