How would i go about in creating a program to mark and grade a set of multiple choice test results. this is a console program that uses JOptionPane dialog boxes as well.
Read a set of 10 correct answers using JOptionPane dialog box and store the entire answer as on string in one variable. there are no spaces between the letters and the user may enter capital or small letters.
Extract each letter from this string and fill an array with 10 letter answers. this is done in a method Load Answers after the above. when the answers have been written to the array, display a JOptionPane show message box "The information has been saved".
the program must ask the user for the number of students to process, thereafter the program must prompt the user for a student name and therafter for the students 10 answers. use input dialog boxes to achieve this. the 10 answers for the student must be saved in another array.
after successful capture of the marks, show another sucess confrimation dialog box. thereafter compare the students answers with the answers in the answer array. Keep count of the number of answers in the answer key.
store the students name and the number of correct answers in another array(s).Calculate the symbol based on the following Score Letter Grade 9...10 A 8 B 7 C 6 D 5 E 0...4 F
for each student, display the students name, the number of correct answers and a symbol(Letter grade). Calculate the average number of correct answers for the class and display on the console each students mark and the letter grade, and the class average.