Question: Write a program to compute the grades of students. The test scores are to be read from a te te that the data cont fi

Write a program to compute the grades of students. The test scores are to be read from a te te that the data cont fi The weight of the first test is 30%, the weight for second test is 30%, and the weight for the final is 40%. The grades breakdown is: {:[ > 90%" A "],[85%-89.99%" A- "],[80%-84.99%" B+ "],[70%-79.99%" B "],[60%-69.99%" C "],[50%-59.99%" D "]:} The compute grades are to be stored in an output file as: Id last name grade

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Here is a Python program that solves the problem import csv Define the weight of each test weights first 03 second 03 final 04 Define the grade boundaries gradeboundaries 90 85 80 70 60 50 gradelabels ... View full answer

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