[Solved]Statistics Lab Set Data E Test Scores Summarized Chart Example List Test Scores 90 85 100 Q37146776

Statistics Lab A set of data, (i.e. test scores), can be summarized by a chart. For example, if the list of test scores is: 90, 85, 100, 50, 50, 85, 60, 70, 55, 55, 80, 95, 70, 60, as 8o, 100, 75, 70, 95, 90, 90, 70, 95, 50, 65, 85, 9s, 100, 65 then the frequency distribution chart looks like the one below frequency score 100 95 90 85 80 75 70 65 50 a) Write a C program, stats.c, that initializes an array at compile time with the test scores shown above and outputs the test scores, five per line. 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. Note that the scores are listed in decreasing value within the table. 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. Focus on Fundamentals of Programming with f 294 Page of a list of numbers is that element such that when the numbers media scending or descending order, half the elements lie above it and The nged in g) arrang his can happen only when there are an odd number of elements in it and contains an even number of items, the median is the average st If the ers in the middle (to the nearest tenth). Your program should hehe twonuian of the test scores given to the nearest tenth. (Note: Your o tout the meid determine on its own whether there is an odd or even number of program should test scores) hat each section of the lab should be designed within its own function, Noteoa parameters as necessary. Be sure to use the set of test data given seingram and be sure you input the data in the order given. para above in Reme used in your program. mber that the main() function should appear as the first function in the Be sure to use function prototypes for each of the functions that are t from your program should be sent to the terminal window (your screen) I as the requested csis.txt output file. Be sure to read the document on as well as the Capturing Program Output. Your full name must appear as a comment in the source file that contains main ). Be sure to include the csis.txt output file in your zip archive. Page 295 rocus on Fundamentals of Programming with C Show transcribed image text Statistics Lab A set of data, (i.e. test scores), can be summarized by a chart. For example, if the list of test scores is: 90, 85, 100, 50, 50, 85, 60, 70, 55, 55, 80, 95, 70, 60, as 8o, 100, 75, 70, 95, 90, 90, 70, 95, 50, 65, 85, 9s, 100, 65 then the frequency distribution chart looks like the one below frequency score 100 95 90 85 80 75 70 65 50 a) Write a C program, stats.c, that initializes an array at compile time with the test scores shown above and outputs the test scores, five per line. 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. Note that the scores are listed in decreasing value within the table. 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. Focus on Fundamentals of Programming with f 294 Page
of a list of numbers is that element such that when the numbers media scending or descending order, half the elements lie above it and The nged in g) arrang his can happen only when there are an odd number of elements in it and contains an even number of items, the median is the average st If the ers in the middle (to the nearest tenth). Your program should hehe twonuian of the test scores given to the nearest tenth. (Note: Your o tout the meid determine on its own whether there is an odd or even number of program should test scores) hat each section of the lab should be designed within its own function, Noteoa parameters as necessary. Be sure to use the set of test data given seingram and be sure you input the data in the order given. para above in Reme used in your program. mber that the main() function should appear as the first function in the Be sure to use function prototypes for each of the functions that are t from your program should be sent to the terminal window (your screen) I as the requested csis.txt output file. Be sure to read the document on as well as the Capturing Program Output. Your full name must appear as a comment in the source file that contains main ). Be sure to include the csis.txt output file in your zip archive. Page 295 rocus on Fundamentals of Programming with C
Expert Answer
Answer to Statistics Lab A set of data, (i.e. test scores), can be summarized by a chart. For example, if the list of test scores … . . .
OR

