C++ Exam Grader Code *Note this is an All or Nothing points award: The first per
ID: 3550839 • Letter: C
Question
C++ Exam Grader Code
*Note this is an All or Nothing points award: The first person to provide an entire working code with comments will be awarded the full 3000 points.
* Please use proper indentation and commenting so I can follow the code through step by step.
*Please do not use advanced coding techniques, I am still starting out in C++, so this code I am requesting is not to submit as homework but rather to learn from.
* To give you a sense, we have only covered decision structures, loops, functions, arrays, searching and sorting arrays, pointers, and basic file operations.
* Please include entire code only in main.cpp file.
*Note we are ONLY using the MS Visual Studio 2010 and it must work and compile on that.
Problem: You have been hired by a school district to write a program that will grade multiple choice exams and provide a report listing the grade (numeric and letter) for each student, the problems missed for each student (including the student
Explanation / Answer
#include #include #include #include void getAnswerKeys(char*& ansKeys, int& n);char letterGrade(double score);double mean(int* freq, int n);double median(int* freq, int n);double mode(int* freq, int n);int main(){ char* keys; int n; // number of questions getAnswerKeys(keys, n); // Open exams.txt std::ifstream examStream("exams.txt"); if (!examStream) { std::cerrRelated Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.