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 multiplechoice questions. Here are the correct answers file is attached: 'testsolution.txt or 'testsolution.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 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 of the 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: studentanswers.txt or studentanswers.csv Please use python and comment everything code
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
