Question

A set of data (test scores), can be summarized by a frequency distribution chart. For example,...

A set of data (test scores), can be summarized by a frequency distribution chart. For example, if the list of test scores is:

90 85 100 50 50 85 60 70 55 55 80 95 70 60 95

80 100 75 70 95 90 90 70 95 50 65 85 95 100 65

then the frequency distribution chart looks like the one below:

value           frequency

------           ------------

100                3          

95                5

90                3

85                3

80                2

75                1

70                4

65                2

60                2

55                2

50                3


a) Write a C program to input the scores above and print out the scores, five per line. Note that you should initialize the array at declaration time and also use size 1000 for the array size.

b) Sort the test scores into ascending order and output the scores, five per line.

c) Calculate and print out the frequency distribution chart as shown above.

d) Output the percentage of passing and failing test scores to the nearest tenth. Scores below 60 are failing.

e) Calculate and print out the mean of the test scores to the nearest tenth.

f) Print out the mode of the test scores.

g) The median of a list of numbers if that element such that when the numbers are arranged in ascending or descending order, half the elements lie above it and half below. This can happen only when there are an odd numbers of elements in the list. If the array contains an even number of items, the median is the average of the two numbers in the middle (to the nearest tenth). Your program should output the median of the test scores given to the nearest tenth. (Note: Your program should determine on its own whether there is an odd or even number of test scores).


Points to Remember:

Make sure you are creating a C program and not a C++ program

Each section of the assignment should be designed within its own function, passing parameters as necessary.

Please make sure to do all the parts (a-g) of the assignment

0 0
Add a comment Improve this question Transcribed image text
Request Professional Answer

Request Answer!

We need at least 10 more requests to produce the answer.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the answer will be notified once they are available.
Know the answer?
Add Answer to:
A set of data (test scores), can be summarized by a frequency distribution chart. For example,...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT