Question: I need assistance with code for this weeks interactive assignment For this interactive assignment, you will make application that grades the written portion of the

I need assistance with code for this weeks interactive assignment

For this interactive assignment, you will make application that grades the written portion of the driver's license exam. The exam has 20 multiple-choice questions. Here are the correct answers:

  1. B2. D3. A4. A5. B6. A7. B8. A9. C10. D
  2. B12. C13. D14. A15. D16. C17. C18. B19. D20. A

Your program should store these correct answers in a list. The program should read the student's answers for each of the 20 questions from a text file and store the answers in another list. (our own answer text file to test the application.) After the student's answers have been read from the text file, the program should display a message indicating whether the student passed or failed the exam. (A student must correctly answer 15 of the 20 questions to pass the exam.) It should then display the total number of correctly answered questions, the total number of incorrectly answered questions, and a list showing the question numbers.

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 Programming Questions!