Question: Pseudocode and Python code please Driver's License Exam The local driver's license office has asked you to design a program that grades the written portion
Pseudocode and Python code please
Driver's License Exam
The local driver's license office has asked you to design a program that grades the written portion of the driver's license exam. The exam has multiple choice questions Here are
the answers:
B
A
B
C
D
C
D
B
A
D
C
D
D
A
Your program should store these correct answers in an array. Store each question's correct answer in an element of a String array. The program should ask the user to enter the
student's answers for each of the questions, which should be stored in another array.
After the student's answers for each of the questions have been entered, the program should display a message indication whether the student passed or failed. A student must
correctly answer of the questions to pass the exam.
The program should 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.
SAMPLE OUTPUT:
Congratulations!! You PASSED the exam.
Number of questions you answered correctly:
Number of questions you answered incorrectly:
Questions you answered incorrectly:
Sorry, you FAILED the exam.
Number of questions you answered correctly:
Number of questions you answered incorrectly:
Questions you answered incorrectly:
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
