Purchase Solution

arithmetic mean, median, and mode for up to 50 test scores

Not what you're looking for?

Ask Custom Question

C programming: I need to compute an arithmetic mean(average), median, and mode for up to 50 test scores. The data are contained in a text file. To determine the median, I must first sort the array. The median is the score in the middle of the range. This can be determined by selecting the score at last/2 if last is odd. The mode is the score that occurs the most often. After building the frequency array, use it to determine which score occurred most often. (Two scores can occur the same number of times) I am working on a Unix operating system.

Purchase this Solution

Solution Summary

Ideas to compute an arithmetic mean, median, and mode for up to 50 test scores are offered.

Solution Preview

Attached is the step-by-step suggestion on how to tackle the problem. Also following are the assumptions.

1) Median: After sorting the scores, the median ...

Purchase this Solution


Free BrainMass Quizzes
Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.