Lab 6 for CSC 121

27 Aug 2021 - 09:40 | Version 1 |

Overview

You need to take a comma separated file and compute each student's average and class averages for the assignments. You have two weeks to do this lab.

Details for computing

  • You must have at least two functions and use them properly
  • You cannot use any statistical features (including summing a list or computing an average) in python. You must compute them yourself
  • You must read the data from a file. The filename will be "grades.txt"
  • The format of the data can be seen in the sample file provided
  • For each student, compute the average of all the scores and display the student's name and average
  • For each assignment, display the assignment number and the average on that assignment
  • Display the overall class average

Sample data

The sample data file can be found on canvas for this assignment
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback
This website is using cookies. More info. That's Fine