Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Electronic Quiz Grader Program The eLcarning multiple-choice-quiz grader has broken down, so Professor Smart N. Lazy wants you to write a program (qu1zGrader.py) to grade

image text in transcribed

Electronic Quiz Grader Program The eLcarning multiple-choice-quiz grader has broken down, so Professor Smart N. Lazy wants you to write a program (qu1zGrader.py) to grade the class's eL caming quizzes. After extracting the files from: you will find that the hwl folder contains: students.txt-a text file containing the student names in the class * one or more quizN directories each directory contains an answers.txt text file with the correct answers and text files for each student who took the quiz The student file names are lastname firstname.txt studentsixt Doe, Jane Jones, Tom Kidd, Billy Smith, Sally answers.x doe jane,txt smith sally.txt awers.txt doe jane.txt smith sally.txt 13 Your program (called qu1zGrader.py) should run from inside the hw1 directory(i.e., develop it inside the hwl directory) to generate a gradeReport.txt file that looks something like Student Ou1z Report Total Quiz points Overal1 Quiz % Student 30 10 Doe, Jane Jones, Tom Kidd, B111 Smith, Sally 71.4 95.2 83.3 85.7 Points Poss1ble 42 For extra credit, you can report more details (e.., individual quiz scores for each student): Student Qu1z Report overal1 Total Quiz 7 Quiz Points Quiz? student Qu1z 1 Quiz 2 Doe, Jane Jones, Tom Kidd, B111 Smith, sally 30 40 35 36 71.4 95.2 83.3 85.7 Points Poss1ble 42 When you write your program, be sure you * think about the functional-decomposition (top-down) design before you start to write code, You'll need to tum in a design document, so you should might as well start there use meaningful variable names with good style (i.e., useCamelCase) use commentsMulti-line Comment") at the start of the program and immediately after each function definition describing what they do (see labl diceoutcomes.py program) use a main function (see labl diceoutcomes.py program) located at the top of program with a call to it at the bottom to start execution * * use global constants where appropriate with good style (ALL CAPS AND_UNDERSCORES). (Put your global constants after your initial comments describing the program and before your main function definition so they can be found and changed easily in future versions of your program.) Electronic Quiz Grader Program The eLcarning multiple-choice-quiz grader has broken down, so Professor Smart N. Lazy wants you to write a program (qu1zGrader.py) to grade the class's eL caming quizzes. After extracting the files from: you will find that the hwl folder contains: students.txt-a text file containing the student names in the class * one or more quizN directories each directory contains an answers.txt text file with the correct answers and text files for each student who took the quiz The student file names are lastname firstname.txt studentsixt Doe, Jane Jones, Tom Kidd, Billy Smith, Sally answers.x doe jane,txt smith sally.txt awers.txt doe jane.txt smith sally.txt 13 Your program (called qu1zGrader.py) should run from inside the hw1 directory(i.e., develop it inside the hwl directory) to generate a gradeReport.txt file that looks something like Student Ou1z Report Total Quiz points Overal1 Quiz % Student 30 10 Doe, Jane Jones, Tom Kidd, B111 Smith, Sally 71.4 95.2 83.3 85.7 Points Poss1ble 42 For extra credit, you can report more details (e.., individual quiz scores for each student): Student Qu1z Report overal1 Total Quiz 7 Quiz Points Quiz? student Qu1z 1 Quiz 2 Doe, Jane Jones, Tom Kidd, B111 Smith, sally 30 40 35 36 71.4 95.2 83.3 85.7 Points Poss1ble 42 When you write your program, be sure you * think about the functional-decomposition (top-down) design before you start to write code, You'll need to tum in a design document, so you should might as well start there use meaningful variable names with good style (i.e., useCamelCase) use commentsMulti-line Comment") at the start of the program and immediately after each function definition describing what they do (see labl diceoutcomes.py program) use a main function (see labl diceoutcomes.py program) located at the top of program with a call to it at the bottom to start execution * * use global constants where appropriate with good style (ALL CAPS AND_UNDERSCORES). (Put your global constants after your initial comments describing the program and before your main function definition so they can be found and changed easily in future versions of your program.)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Building The Data Lakehouse

Authors: Bill Inmon ,Mary Levins ,Ranjeet Srivastava

1st Edition

1634629663, 978-1634629669

More Books

Students also viewed these Databases questions

Question

What are some of the possible scenes from our future?

Answered: 1 week ago