Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You already have learned how to use a 2 D list. Today we utilize the 2 D list to solve the problem. You are given

You already have learned how to use a 2D list. Today we utilize the 2D list to solve the problem. You are given an input file (input.csv Download input.csv) where a list of students and their grades are listed. Your task is to read the file content, populate the 2D list, and finally do some calculations (min, max, median, and average) for each course. You CAN NOT use any built-in functions, like min, max, sort, etc. as well as csv module in this assignment. However, for the median, you can ONLY use a built-in function from the statistics module. After calculating these, you need to store them in an output file. A sample output file (output.csv Download output.csv) is given for the corresponding input file. I may use different input files which will generate different output files. Before submitting your in-class, make sure your code runs correctly and generates the specified output file. You may use a different input file for your test case.
You are only supposed to submit the .py file named as '{firstname}_{lastname}_2d_list.py' before the deadline.
Rubrics
a) Use the coding format given in the class which should contain a main(), docstring, and several utility functions based on your need. (2)
b) Populate a 2D list from the input file (3)
c) Calculation with several utility functions (3)
d) Store the results in the output file (1)

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_2

Step: 3

blur-text-image_3

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

Hands-On Database

Authors: Steve Conger

2nd Edition

0133024415, 978-0133024418

More Books

Students also viewed these Databases questions

Question

4. What sales experience have you had?

Answered: 1 week ago