110k views
2 votes
"apply quickselect to find the median of the list of numbers 9, 12, 5, 17, 20, 30, 8."

User Kayyagari
by
6.9k points

2 Answers

3 votes
The median of the list 5, 8, 9, 12, 17, 20, 30 is 12.
5 votes

Answer:

12

Explanation:

In statistics, the median is the value that separates the higher half from the lower half of a data sample. This means that it is the "middle" value of a data sample. In order to find the median, you need to place the numbers of your data sample in order of value, and identify the middle point. If two sets of numbers are in the middle, then you need to find the middle point between the two (by adding them and then dividing them by two).

Therefore:

5, 8, 9, 12, 17, 20, 30

User Jongwook Choi
by
6.9k points