Starting from:

$25

Driver’s license exam Solution

The local Driver’s License Office has asked you to write a program that grades the written portion of the driver’s license exam. The exam has 20 multiple choice questions.
Here are the correct answers:
(A,C,A,A,D,B,C,A,C,B,A,D,C,A,D,C,B,B,D,A)
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 them in another list. After students answers have been read from the file, the program should display a message indicating whether student passed or failed. Must answer atleast 15 to pass. It should then display total number of correct answered questions, total number incorrect answered questions, and a list showing the question numbers of the incorrectly answered questions.
requirements:
use python code
use of functions and value returning functions- use 3
read file contents into list using a loop

More products