Show in the table below are the 99 response ratings (values from 1 to 9) from reviewets for a beta website: (See attached photo (table)) Write a program that computes the mean, median, and mode of the 99 values.  Please refer to the sample run shown below, and follow the display output. (See attached file for sample run)

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Computers are widely used for survey data analysis to compile and analyze the results of survey and opinion polls. 

Show in the table below are the 99 response ratings (values from 1 to 9) from reviewets for a beta website:

(See attached photo (table))

Write a program that computes the mean, median, and mode of the 99 values. 

Please refer to the sample run shown below, and follow the display output.

(See attached file for sample run)

 

 

Shown in the table below are the 99 response ratings (values from 1 to 9) from reviewers for
a beta website:
8.
6.
8.
2.
9.
8.
3.
7
6.
6.
1
9.
7
9.
4
8.
8.
8.
7.
5
6.
4
8.
1
6.
2.
6.
3.
3.
9.
8.
9.
6.
8.
9.
4.
8.
8.
4
8.
6.
6.
7.
41
9,
7.
6,
1.
7,
6,
2)
6.
1.
1.
7.
91
3.
3.
9,
Transcribed Image Text:Shown in the table below are the 99 response ratings (values from 1 to 9) from reviewers for a beta website: 8. 6. 8. 2. 9. 8. 3. 7 6. 6. 1 9. 7 9. 4 8. 8. 8. 7. 5 6. 4 8. 1 6. 2. 6. 3. 3. 9. 8. 9. 6. 8. 9. 4. 8. 8. 4 8. 6. 6. 7. 41 9, 7. 6, 1. 7, 6, 2) 6. 1. 1. 7. 91 3. 3. 9,
Sample Run:
Mean
The mean is the average value of the data
items. The mean is equal to the total of
all the data items divided by the number
of data items (99). The mean value for
this run is: 681 / 99 - 6.8788
Median
The unsorted array of responses is
6 7 8 9 8 7 8 9 8 9 7 895 9 87878
6789398 7877 89 8 9 89 78 9
67878 79 892 789 89 89 75 3
56725 39 4 6 4789 6 878 9 7 8
7 44 25 38756 456 165787
The sorted array is
1222 3 3 3 3 4 4 4 4 4 55 55555
56666 6 6 6 6 6 777777 7777
7 777777777777 8 88 8 888
88888 88 8 8 8 88888 88888
9 999999999 99999 9999
The median is element 49 of
the sorted 99 element array.
For this run the median is 7
Transcribed Image Text:Sample Run: Mean The mean is the average value of the data items. The mean is equal to the total of all the data items divided by the number of data items (99). The mean value for this run is: 681 / 99 - 6.8788 Median The unsorted array of responses is 6 7 8 9 8 7 8 9 8 9 7 895 9 87878 6789398 7877 89 8 9 89 78 9 67878 79 892 789 89 89 75 3 56725 39 4 6 4789 6 878 9 7 8 7 44 25 38756 456 165787 The sorted array is 1222 3 3 3 3 4 4 4 4 4 55 55555 56666 6 6 6 6 6 777777 7777 7 777777777777 8 88 8 888 88888 88 8 8 8 88888 88888 9 999999999 99999 9999 The median is element 49 of the sorted 99 element array. For this run the median is 7
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY