GATE 2026 IN – Question 31
A data set is given to be [1, 2, 0, −1, −3, 1, 2, 0, 1]. The median of the data set is ________. (Rounded off to the nearest integer.)
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: 1 to 1
Explanation
Sort the nine observations: −3, −1, 0, 0, 1, 1, 1, 2, 2. For an odd sample size of nine, the median is the fifth observation.
The fifth observation is **1**.