Question: use java CISC 1115 Assignment 7 ARRAYS NOTE: Each method must have a javadoc comment that mentions the job of the method and each of
use java
CISC 1115 Assignment 7 ARRAYS NOTE: Each method must have a javadoc comment that mentions the job of the method and each of the parameters by name. OVERVIEW: You will write a complete Java program to help your professor grade a multiple choice quiz. main method: 1. Declare and initialize an array with the correct answers. You may use the following as the answer key: 1. a 2. b 3. c 4. d 5. b 6. d 7. c 8. c 9. b 10. a 2. Call the method readResponse, sending it an array to hold a student's response. The method should read in a given student's response to the 10 questions and store them in an array. 3. Call the method gradeResponse, sending it two arrays: the correct answers, and a student's response. The quiz should be graded out of 100; each question is worth 10 points. This method should return an integer which is the grade. 4. Call a method didPass that accepts two arrays, and returns a boolean. The method returns true if the number of correct answers in the arrays is >=6. 5. Print whether the student passed, and in the event that the student passed, print the grade on the quiz.
Suppose I have a file with answers of all students in it. Each line of the file represents one student's answers. Have your program grade all of the students quizes and store the grades in a grades array where grades[i] represents the grade of the students whose answers are in line i in the input file. *******/
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
