Question: Please help me understand how to do this code in JAVA!! Can you please provide step by step instrucaitons on how to you did it.

Please help me understand how to do this code in JAVA!! Can you please provide step by step instrucaitons on how to you did it.

These are the steps my TA told me to do it

1) get the key

2) get students (using while and arrays)

3) process quiz number

4) process each student(using something called sumscores)

5) print score

They aslo told me to use a thing called string.split("\\st")

Anyways heres the assignment

Please and thank you!!

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- You are going to write a program to perform automated grading for True/False quiz. The first line of input will contain the quiz number followed by the answers to the quiz (T or F). The subsequent lines of input will contain the student's name (last, first), the student's ID (nine digits), followed by the student's answers to the quiz. Your program terminates processing student data when the string "ZZZZ" as the only data contained in the input. Your program will output the student's ID, the student's name (first last) and the score received for the quiz.

An example input to your program:

 1 T T T T T F T T F F Bobb, Bill 123456789 T T T T T F T T F F Lou, Mary 974387643 F T T T T F T T F F Bobb, Sam 213458679 F T F T f t 6 T F f Bobb, Joe 315274986 t t t t t f t t f f ZZZZ 

which will produce the output:

 Results for quiz 1: 123-45-6789 Bill Bobb 10 974-38-7643 Mary Lou 9 213-45-8679 Sam Bobb 5 315-27-4986 Joe Bobb 10 The average score is 8.5 

Error processing:

if the answer is neither a T/t or F/f it is considered incorrect.

if no students are in the class, your program will output:

 Quiz 1: Empty class data 

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!