Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Grade data: gradeData=[79,99,73 ,49,67,62,52,99,57,58 ,67,88,71 ,69,41,74 ,53,90,63 , 66,92,54 ,61,59,48,71,83,89,99 ,69,66,40,48,41,99,68 ,52,78,77, 71,40,65,77,87,96,44,54,60,89,72] xsls file Exam Grades 79 99 73 49 67 62 52 99

image text in transcribed

Grade data:

gradeData=[79,99,73 ,49,67,62,52,99,57,58 ,67,88,71 ,69,41,74 ,53,90,63 , 66,92,54 ,61,59,48,71,83,89,99 ,69,66,40,48,41,99,68 ,52,78,77, 71,40,65,77,87,96,44,54,60,89,72]

xsls file

Exam Grades
79
99
73
49
67
62
52
99
57
58
67
88
71
69
41
74
53
90
63
66
92
54
61
59
48
71
83
89
99
69
66
40
48
41
99
68
52
78
77
71
40
65
77
87
96
44
54
60
89
72
Activity #2: Statistics Using Lists of Data-Team Activity There are two files posted to get you started with this activity: Grade Date_LabbAct2.py - Python file with a list defined representing grade data Lab6 Act2 Grade Data.xlsx - Excel spreadsheet with the same grade data The activities below require you to perform some simple statistical analyses on the given data. The end result should be a Python code that produces the correct results, but you may use Excel to check your verify your methods and to check the answers for correctness. Please put the code for the following Activity #2 exercises in the same file (Lab6_Act2.py). Please separate code for each part with appropriate comments. Develop Python code to produce the results described for each part below. Part A. The mean (*) of a set of n data points is defined as follows: (x + xy +.....+x.)_1 Write Python code to calculate and display the mean grade of the set of grades given. Please do not use any built-in Python functions for summing or calculating the mean. Instead, set up a loop to calculate the sum of the numbers in the list, then divide by the number of items in the list. Use Excel to verify your results. Part B. The standard deviation (a) of a large set of n data points is defined as follows: (xi-*) Write Python code to calculate and display the standard deviation of the set of grades given. Note that x in the equation above is the mean of the data from Part A. Please do not use any built-in Python functions for calculating o. Instead, set up a loop to calculate the required summation, then perform the final calculations. Use Excel to verify your results. Part C. Write Python to find the minimum and the maximum grade in the set of grades given. Once again, please do not use built-in functions. Instead, use your knowledge of lists and list indices, loops and if-elif-else blocks to find and display these two values. Use Excel to verify your results. Part D. You are a kind-hearted instructor that wants to raise the average grade for your class. Write Python code to determine the constant deltaGrade that must be added to each student's grade for the class average to be exactly 75.0. . You may allow some student grades to exceed 100.0 for this exercise

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

Step: 3

blur-text-image

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

Informix Database Administrators Survival Guide

Authors: Joe Lumbley

1st Edition

0131243144, 978-0131243149

More Books

Students also viewed these Databases questions

Question

Identify five strategies to prevent workplace bullying.

Answered: 1 week ago