Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

03: Consider the following variable: I grades ID:1 MAT3000:95 COM3000:90 ID:2 MaT3000:50 COM3000:70 ID:3 mat3000:60 COM3000:80 ID:4 mat3000:60 COM3000:70 ID:5 MAT3000:85 COM3000:89 ID:6 mat3000:65 COM3000.75

image text in transcribed

03: Consider the following variable: I grades ID:1 MAT3000:95 COM3000:90 ID:2 MaT3000:50 COM3000:70 ID:3 mat3000:60 COM3000:80 ID:4 mat3000:60 COM3000:70 ID:5 MAT3000:85 COM3000:89 ID:6 mat3000:65 COM3000.75 ID:7 mat3000:80 COM3000:70 ID:8 mat3000:90 COM3000:70 Write a python code that creates three lists, one that holds IDs, one holds the grades of the mat3000" course, and the last one for the "COM3000". Find the student ID that got the highest grade in "COM3000". Write a code that creates a dictionary stadeCount where the keys are the available grades (such as 95, 90, 85...) and the values are their count. (for example: the frequency of grade 90 is 2. So scadeCount(90] should give 2)

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

Systems Analysis And Synthesis Bridging Computer Science And Information Technology

Authors: Barry Dwyer

1st Edition

0128054492, 9780128054499

More Books

Students also viewed these Databases questions

Question

How many multiples of 4 are there between 10 and 250?

Answered: 1 week ago

Question

How wide are Salary Structure Ranges?

Answered: 1 week ago