Final grade function Interface def computeFinalGrades (grades): # Insert your code here return gradesFinal Input argumen

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Final grade function Interface def computeFinalGrades (grades): # Insert your code here return gradesFinal Input argumen

Post by answerhappygod »

Final Grade Function Interface Def Computefinalgrades Grades Insert Your Code Here Return Gradesfinal Input Argumen 1
Final Grade Function Interface Def Computefinalgrades Grades Insert Your Code Here Return Gradesfinal Input Argumen 1 (72.47 KiB) Viewed 88 times
please write in python 3.8
Final grade function Interface def computeFinalGrades (grades): # Insert your code here return gradesFinal Input arguments grades: An N X M matrix containing grades on the 7-step-scale given to N students on M different assignments. gradesFinal: A vector of length n containing the final grade for each of the N students. Output arguments User input No. Screen output No. Description For each student, the final grade must be computed in the following way: 1. If there is only one assignment (M = 1) the final grade is equal to the grade of that assignment. 2. If there are two or more assignments (M > 1) the lowest grade is discarded. The final grade is computed as the mean of M - 1 highest grades rounded to the nearest grade on the scale (using the function roundGrade). 3. Irrespective of the above, if a student has received the grade - 3 in one or more assignments, the final grade must always be -3.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply