Grader program

SoccerBoss
Category:
Programming
Price: $35 USD

Question description

Project objective: write a program that takes a list of final scores for a class and determines: 1) the mean (Greek letter mu), 2) the standard deviation (Greek letter sigma), and 3) the number of grades in each category (A, A-, B+, B-, C+, C, C-, D+, D, and F). \

Prompt the user for the name of a file containing the final scores, up to 100 scores, such as (without the commas):

100, 94, 59, 83, 57, 11, 92, 76, 37, 89, 74, 59, 65, 79, 49, 89, 89, 75, 64, 82, 15, 74, 82, 68, 92, 61, 33, 95, 91, 82, 89, 64, 43, 93, 86, 65, 72, 40, 42, 90, 81, 62, 90, 89, 35, 81, 48, 33, 94, 81, 76, 86, 67, 70, 100, 80, 83, 78, 96, 58

Note:   m = 71.47   s = 20.98

Determine the maximum score, the minimum score, the range of scores (maximum – minimum) and a table with column headings:

Grade

Number of scores

using the following scoring (where m is the mean, s is the standard deviation, and x is an individual score):

A

:

m+ 4/3 s

<= x

A–

:

m+ 3/3 s

<= x <

m+ 4/3 s

B+

:

m+ 2/3 s

<= x <

m+ 3/3 s

B

:

m+ 1/3 s

<= x <

m+ 2/3 s

B–

:

m+ 0/3 s

<= x <

m+ 1/3 s

C+

:

m– 1/3 s

<= x <

m+ 0/3 s

C

:

m– 2/3 s

<= x <

m– 1/3 s

C–

:

m– 3/3 s

<= x <

m– 2/3 s

D+

:

m– 4/3 s

<= x <

m– 3/3 s

D

:

m– 5/3 s

<= x <

m– 4/3 s

F

:

x <

m– 5/3 s

Place the output in a file, in an orderly format, and inform the user of the name of the file before exiting.


Tutor Answer

(Top Tutor) Daniel C.
(997)
School: Cornell University
PREMIUM TUTOR
Studypool has helped 1,244,100 students
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1823 tutors are online

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors