Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

To do: create python file that has a global gradebook dict, which stores a running total for each supplied grade type; and two functions to

To do: create python file that has a global gradebook dict, which stores a running total for each supplied grade type; and two functions to interact with that dict: assignment(kind, grade, weight). The kind will be a string, and will indicate which group of assignments this one belongs to. It might be either a known kind or a new one. The grade will be a number between 0 and 100.

Part Two: Name of fxn must be total(proportions). Given a dict with keys as types of assignments and values as ratios of overall grade this type applies to, return the cumulative grade so far based on this set of proportions. You may assume the values in the dict total to 1.0. The given proportions may include assignment types that have never been sent to assignments; return the grade assuming the student got 0 in those missing assignments. The given proportions may fail to include some assignment types that were sent to assignments; those assignment types do not contribute to the returned grade.

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

Development Of Knowledge Framework For Affective Content Analysis

Authors: Swarnangini Sinha

1st Edition

B0CQJ13WZ1, 979-8223977490

More Books

Students also viewed these Databases questions

Question

Who poses the biggest security threat insiders or outsiders?

Answered: 1 week ago

Question

Define conformity and obedience. Then, provide an example of each.

Answered: 1 week ago