Question: 2. A simple application is required to grade multiple choice test. The test contains 40 questions taken by 100 students. a. b. C. Write
2. A simple application is required to grade multiple choice test. The test contains 40 questions taken by 100 students. a. b. C. Write C++ statement to declare: i. ii. a two-dimensional array that will store answers for 40 multiple choice questions answered by 100 students. [2 marks] a single-dimensional array that will store answer scheme for 40 multiple choice questions. [1 mark] Based on declaration in part(a), write a C++ code fragment to prompt answers for 40 multiple choice questions answered by 100 students, and prompt for the answer scheme. [7 marks] Write a C++ code fragment to calculate the mark for each student in percentage format and determine the student with the highest mark. [10 marks]
Step by Step Solution
There are 3 Steps involved in it
a i C statement to declare a twodimensional array that will store answers for 40 multiple choice que... View full answer
Get step-by-step solutions from verified subject matter experts
