What is the first step in computing the median?
AScale the data
BSort the data
CSum the data
DSplit the data
Answer & Solution
Correct answer: B. Sort the data
1. The median is defined by position, not by total.
2. Position only means something once the values are in order.
3. In order to compute the median, the first step is to sort the data.
4. It may be sorted ascending or descending.
_Source: syllabus Computer Science, Ch 7 'Understanding Data'_
Keep practising Understanding Data
Browse all Understanding Data questions for BCA Data Science, or explore more Datascience topics.