Question
Java programming First, create a method to grade the student exams - gradeExams(). It takes 2 parameters: the answer key (single dimensional array) and the
Java programming
First, create a method to grade the student exams - gradeExams(). It takes 2 parameters: the answer key (single dimensional array) and the student answers (two dimensional array); displays the results; no return value (void). It should invoke a second method gradeExam() that takes 2 parameters: the answer key (single dimensional array) and a single dimensional array for a single students answers; displays the results; no return value (void).
Once this works, create 2 more methods: getAnswerKey() and getStudentAnswers() which prompt the user for the corresponding information. getAnswerKey() returns a single dimensional array and getStudentAnswers() returns a two dimensional array. Note: getStudentAnswers() should take a single parameter specifying the number of questions (you can determine the value by looking at the array returned by getAnswerKey() ) use this value to check that the user entered the correct number of answers for each student. Use your gradeExams() method to grade the user-supplied info.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started