Question: Develop a Java application that will grade student tests and locate the student with the fastest time and the student with the highest score for

 Develop a Java application that will grade student tests and locate
the student with the fastest time and the student with the highest

Develop a Java application that will grade student tests and locate the student with the fastest time and the student with the highest score for the course section #2. Refer to the video demon on how the program should interact with a user The program will read "key.txt" file with the correct answers and load them into array of strings (not ArrayList). 1. 2. The program will read "answers.txt file and load each row into array of objects (TestScore objects; not ArrayList) 3. The program will display the number of students that took the test (number of rows in the file) 4. The program will display the number of questions on the test 5. For course section two (exclude section one The program will locate the student with the highest score and display the name of the student on the screen. a. b. The program will locate the student with the shortest time and display the name of the student on the screen. How to handle "answers.txt The file has many rows. e the first column is student name e the second column is course section the third column is the number of minutes spent on the exam The rest of the columns are student answers to the exam. 1 Name Course Section MinuteSpent Answers 2 Dennis 3 Barber 4 May 68 56 EDAEDEB DDEDEBEECECCD BCCABBB AABADBECEDADDACBCBEBADBCCE B DB DDDEBAEADECBABABAAAAADE 65 6 Rice You need to deploy loop(s) to read the rows and then columns just like we did in StockData and Casino example. Each row will become an object of "TestScore" datatype.You will need to write TestScore class that will have the following attributes: name, section, minutesSpent, correctCount, and array of strings arAnswers. arAnswers will hold all the student answers starting on the column 4 and on. You will need to loop through each TestScore (outer loop) and then loop through each answer for the student (inner loop) and compare array with the correct answers to the student answers. You will need to deploy for-each loop to gain access to each TestScore object and then extract arAnswers attribute that holds the student answers. Compare arAnswers with arkey, and set correctCount attribute to the number of correct answers Once you compute the correct number for each test, you will deploy another loop that will calculate the required statistics for section number two. Develop a Java application that will grade student tests and locate the student with the fastest time and the student with the highest score for the course section #2. Refer to the video demon on how the program should interact with a user The program will read "key.txt" file with the correct answers and load them into array of strings (not ArrayList). 1. 2. The program will read "answers.txt file and load each row into array of objects (TestScore objects; not ArrayList) 3. The program will display the number of students that took the test (number of rows in the file) 4. The program will display the number of questions on the test 5. For course section two (exclude section one The program will locate the student with the highest score and display the name of the student on the screen. a. b. The program will locate the student with the shortest time and display the name of the student on the screen. How to handle "answers.txt The file has many rows. e the first column is student name e the second column is course section the third column is the number of minutes spent on the exam The rest of the columns are student answers to the exam. 1 Name Course Section MinuteSpent Answers 2 Dennis 3 Barber 4 May 68 56 EDAEDEB DDEDEBEECECCD BCCABBB AABADBECEDADDACBCBEBADBCCE B DB DDDEBAEADECBABABAAAAADE 65 6 Rice You need to deploy loop(s) to read the rows and then columns just like we did in StockData and Casino example. Each row will become an object of "TestScore" datatype.You will need to write TestScore class that will have the following attributes: name, section, minutesSpent, correctCount, and array of strings arAnswers. arAnswers will hold all the student answers starting on the column 4 and on. You will need to loop through each TestScore (outer loop) and then loop through each answer for the student (inner loop) and compare array with the correct answers to the student answers. You will need to deploy for-each loop to gain access to each TestScore object and then extract arAnswers attribute that holds the student answers. Compare arAnswers with arkey, and set correctCount attribute to the number of correct answers Once you compute the correct number for each test, you will deploy another loop that will calculate the required statistics for section number two

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!