Question: Programming Exercise Complete the following programming exercise: Driver's License Exam: The local driver's license office has asked you to create an application that grades the

Programming Exercise
Complete the following programming exercise:
Driver's License Exam:
The local driver's license office has asked you to create an application that grades the written portion of the driver's license exam. The exam has 20 multiple-choice questions. Here are the correct answers (file is attached: 'test_solution.txt' or 'test_solution.csv' you may use either file):
A
B
A
C
C
C
D
B
A
A
C
B
A
C
A
D
D
B
D
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. (Create your own text file to test the application.) After the student's 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.
NOTE: Name your testing file as: student_answers.txt or student_answers.csv. Please use python and comment everything code
Programming Exercise Complete the following

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!