Reference no: EM132177339
Design and implement an application reads in a set of 200 grades into a two-dimensional array from a .txt file called studentanswers that represent the results from a test of 20 true-false questions for 100 students.
Each row of the array represents the answers of one of the 100 students in the class. Each column represents the answers of each student to a specific question on the test.
Each cell of the array contains either the Boolean value "true" or "false." Read in the values from a second .txt file called questionanswers to be stored in a second one-dimensional array of 20 Boolean values that represent the correct answers to the 20 questions.
Your program should compute and print out the number of correct answers for each student in chart form, the number of students who got each of the 20 questions correct in chart form, the average quiz grade and the standard deviation of the grades.
Assuming an "A" is any grade greater than or equal to 90, a "B" is any grade greater than or equal to 80, a "C" is any grade greater than or equal to 70, a "D" is a grade greater than or equal to 60, and an "F" is any grades less than 60, your program should produce a pie chart of the distribution of letter grades for the quiz computed from the first table above.
Your pie chart should be valid for any grade distribution.