Question: 7 . Driver s License Exam The local driver s license office has asked you to create an application that grades the written portion of

7. Drivers License Exam
The local drivers license office has asked you to create an application that grades the written portion of the drivers license exam. The exam has 20 multiple-choice questions. Here are the correct answers:
Your program should store these correct answers in a list. The program should read the students answers for each of the 20 questions from a text file and store the answers in another list. (Create your own text file to test the application.) After the students answers have been read from the 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 of the incorrectly answered questions.7. Drivers License Exam
The local drivers license office has asked you to create an application that grades the written portion of the drivers license exam. The exam has 20 multiple-choice questions. Here are the correct answers:
Your program should store these correct answers in a list. The program should read the students answers for each of the 20 questions from a text file and store the answers in another list. (Create your own text file to test the application.) After the students answers have been read from the 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 of the incorrectly answered questions.7. Drivers License Exam
The local drivers license office has asked you to create an application that grades the written portion of the drivers license exam. The exam has 20 multiple-choice questions. Here are the correct answers:
Your program should store these correct answers in a list. The program should read the students answers for each of the 20 questions from a text file and store the answers in another list. (Create your own text file to test the application.) After the students answers have been read from the 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 of the incorrectly answered questions.

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