Question
Consider the following sample of numbers:
9, 18, 11, 14, 15, 17, 10, 69, 11, 13
The median of the sample is
Official answer and solution
- Official answer
- A
- From
- Official GATE 2024 answer key
Solution
Sort the 10 sample numbers in ascending order and take the average of the 5th and 6th elements.
Sorting the numbers in non-decreasing order gives:
Since is even, the median is the average of the and values:
Final answer
Option (A)
Common trap
Computing the mean (18.7) or mode (11) instead of sorting the array first to find the median.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2024 Computer Science and Information Technology - Set 1 (CS1)
- Question
- 3 of 65
- Section
- General Aptitude
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.