Python programming

profilepavithra
CurveGradesProject.doc

Curve Grades Project: Statisticians use the concepts of mean and standard deviation to describe a collection of numbers. The mean is the average value of the numbers, and the standard deviation measures the spread or dispersal of the numbers about the mean. Formally, if x1, x2, x3, …, xn is a collection of numbers, then the mean is:

image1.jpg

and the standard deviation is:

image2.jpg

The file Scores.txt contains exam scores. The first four lines of the file hold the numbers 59, 60, 65, and 75. Write a program to calculate the mean and standard deviation of the exam scores, assign letter grades to each exam score, ES, as follows, and then display information about the exam scores and the grades, as shown:

image3.jpg

Using above table the results looks like For instance, if m were 70 and s were 12, then grades of 88 or above would receive A’s, grades between 76 and 87 would receive B’s, and so on. A process of this type is referred to as curving grades.

image4.jpg