program two multiple choice exam write a program that grades the writt
Multiple Choice Exam
Write a program that grades the written portion of the Multiple Choice exam. The exam has 25
multiple choice questions. Here are the correct answers:
1.B 2.D 3.E 4 A
5.C 6.A 7.B
11.B 12.C 13.D 14.A
21.E 22.B. 23.C 24.A. 25.D
15.D 16.C 17.C
8.E 9.C 10.D
18.B 19.E 20.A
A student must correctly answer 20 of the 25 questions to pass the exam.
Have a array of char to hold the correct answers.
Have a array of char to hold the student answers.
Write the following methods:
createCorretAnswer: returns a char array with correct answers in it.
create StudentAnswers: returns a char array with students answers in it. ask user to input in the
Input Validation: Only accept the letters A B C D and X as answers, X means the student missed it.
passed: returns true if the student passed the exam or false if the student failed.
totalCorrect: returns the total number of correctly answered questions
totalIncorrect: returns the total number of incorrectly answered questions
totalMissed: returns the total number of questions missed.
questionsCorrect: An int array containing the questions numbers of the questions that the student got
Total of at least 10 methods + main.
questionsIncorrect: An int array containing the questions numbers of the questions that the student
got it incorrect.
questionsMissed: An int array containing the questions numbers of the questions that the student
*The amount will be in form of wallet points that you can redeem to pay upto 10% of the price for any assignment. **Use of solution provided by us for unfair practice like cheating will result in action from our end which may include permanent termination of the defaulter’s account.Disclaimer:The website contains certain images which are not owned by the company/ website. Such images are used for indicative purposes only and is a third-party content. All credits go to its rightful owner including its copyright owner. It is also clarified that the use of any photograph on the website including the use of any photograph of any educational institute/ university is not intended to suggest any association, relationship, or sponsorship whatsoever between the company and the said educational institute/ university. Any such use is for representative purposes only and all intellectual property rights belong to the respective owners.