Question Three [40 marks) Write a Python program called analysis.py to analyse student marks read in from a file and det

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: 899604
Joined: Mon Aug 02, 2021 8:13 am

Question Three [40 marks) Write a Python program called analysis.py to analyse student marks read in from a file and det

Post by answerhappygod »

Question Three 40 Marks Write A Python Program Called Analysis Py To Analyse Student Marks Read In From A File And Det 1
Question Three 40 Marks Write A Python Program Called Analysis Py To Analyse Student Marks Read In From A File And Det 1 (96.81 KiB) Viewed 91 times
Question Three [40 marks) Write a Python program called analysis.py to analyse student marks read in from a file and determine which students need to see a student advisor. The students who (hypothetically!) need to see a student advisor are those with marks less than one standard deviation below the mean. The marks file is composed of lines of text, where each line contains a student name and mark separated by a comma. The Vula page for this assignment has a text file called example.txt as an attachment. Use this file as your input for testing purposes. Remember that the formula for standard deviation is: o = sqrt(((xo – u)2 + (x1 – u)2 + (x2 – u)? +...+(XN-1 – u)2)/N) where u is the mean or average and each x is a mark. Before the list of student names who need to see an advisor, calculate and print out the average and standard deviation to 2 decimal places. Sample 1/0 Enter the marks filename: example1.txt The average is: 72.10 The std deviation is: 24.05 List of students who need to see an advisor: Nihaad Goosain Khaled Brice Abdel Amanda Musa Radiyah Ben Kenney Danielle Ofentse Tumelo Kevin
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply