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 20 multiple choice questions Here are
the answers:
B
A
B
C
D
B
C
C
A
A
D
B
A
C
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 20 questions, which should be stored in another array.
After the student's answers for each of the 20 questions have been entered, the program should display a message indication whether the student passed or failed. (A student must
correctly answer 15 of the 20 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: 18
Number of questions you answered incorrectly: 2
Questions you answered incorrectly: 6,13
Sorry, you FAILED the exam.
Number of questions you answered correctly: 14
Number of questions you answered incorrectly: 6
Questions you answered incorrectly: 2,6,13,17,18,19
Pseudocode and Python code please Driver's

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