Question: You have been asked to write an application that automatically grades a quiz. The quiz has 1 5 multiple - choice questions. The correct answers

You have been asked to write an application that automatically grades a quiz. The quiz has 15 multiple-choice questions. The correct answers are:A6. D11. BC7. D12. CA8. A13. DB9. C14. DB10. A15. BThe program will start by creating a list holding the quiz answers key shown above. It will then prompt the user for the student name and their answers file and read them into a separate list. It will finally compare the key vs. answers lists to calculate & display:Number of correct answersNumber of incorrect answersQuestions incorrectly answered.Whether the student has passed or failed the quizA student must correctly answer 11 out of 15 questions to pass.The user can grade as many students as they wish.NotesThe file containing the students answers is organized as 15 lines. Each line contains the answer to the corresponding question. The responses are single character strings, from A to D, uppercase.Must use functional decomposition in your program implementation.Use Exception Handling to catch file processing errors such as IOError, FileNotFoundError, etc.You may use the A001Quiz.txt, B002Quiz.txt, and C003Quiz.txt files attached to the Unit 7- Lab Assignment and Submission Folder, for testing purposes.

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!