📘 Uncategorized

This assignment is to improve the score system we had for Assignment #2. You nee

AD admin3 · 📅 18 July 2024 · ⏱ 1 min read
✍️ Need help with this assignment? Get expert quotes in minutes — free to submit. ✍️ Get Writing Help FREE

This assignment is to improve the score system we had for Assignment #2. You need

to write a Python program that:
(1) Reads from the file “hw3.txt” in the local directory that contains the SID
(which is a string) and the homework grades (which are integers) of each
student in a class. This time the number of students is not known in advance,
but you may assume that all students have the same number of grades.
(2) Computes the average score (as an integer) for each student. The average of
each student is computed based on (grade total / number of homework
assignments).
(3) Computes the average of the class (as an integer): class average = sum of
averages / number of students;
(4) Computes the letter grade for each student. This time however the letter
grade is “P” (Pass) or “NP” (No Pass): If the average of a student is greater
than or equal to the class average, the student’s letter grade is “P”; otherwise
the letter grade is “NP”.
(5) Prints the SID, the average grade, and the letter grade of each student.
For example, if the data file contains:
1001 20 30 100
1002 80 90 100
1003 100 100 100
Your program should report something like:
SID 1001 Avg 50 Grade NP
SID 1002 Avg 90 Grade P
SID 1003 Avg 100 Grade P
Class Average is 80

The post This assignment is to improve the score system we had for Assignment #2. You nee appeared first on GET HELP WITH PAPERLINQ.

Plagiarism Free Assignment Help

Expert Help With This Assignment — On Your Terms

  • Native UK, USA & Australia writers
  • 100% Plagiarism-Free — Turnitin report included
  • Deadline from 3 hours
  • Unlimited free revisions
  • Free to submit — compare quotes
AD
admin3
Academic Expert · NursingExpert

Expert academic writer and education specialist helping students in the UK, USA, and Australia achieve their best results.

Need help with your own assignment?

Our expert writers can help you apply everything you've just read — to your actual assignment, brief, and marking criteria.

Get Expert Help Now →
Related Articles

You May Also Find Helpful

View All Articles →
📝 Free Submission — No Card Required

Need Help With This Assignment?

Our verified experts deliver 100% original, plagiarism-free work to your exact brief and marking criteria. Submit free — compare quotes — choose your expert.

Write My Assignment FREE Get A Free Quote →

No credit card · No commitment · First quote in minutes