Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q1. (20p) The grades of a course is calculated by a midtem and a final. The midterm has a weight of 40% and the final

image text in transcribed

Q1. (20p) The grades of a course is calculated by a midtem and a final. The midterm has a weight of 40% and the final has a weight of 60%. If the student did not take midterm since she is sick, then she has to take the make up exam. The midterm grades are recorded in the dictionary called MidDict, the makeup grades are recorded in MakeupDict dictionary and the final grades are recorded in FinalDict dictionary. If the student do not take any of the exams then her grades are recorded as zero in the MakeUpDict and zero in the FinalDict. Write a code that calculates the average grade of a student

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

Focus On Geodatabases In ArcGIS Pro

Authors: David W. Allen

1st Edition

1589484452, 978-1589484450

More Books

Students also viewed these Databases questions