Question: Write a Java program that will read questions and their answers from a file. Read the questions and answers into an appropriate data structure, then

Write a Java program that will read questions and their answers from a file. Read the questions and answers into an appropriate data structure, then display the first question and accept an answer from the the user. If the answer is correct, the program should go on to the next question. If it is not correct, store the question in a list. When the question list is exhausted, the questions that were missed should be displayed again (in their original order). Keep a count of the correct answers and display the final count. Record the users name and score and write it out to a file. Also, display the correct answer when necessary in the second round of questioning. Write a "supervisor" program that will allow a supervisor to add new questions, and review student grades.

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!