The correct option is B 20, 20.5
The given data set is 23, 27, 18, 12
This data set contains 4 data.
Mean = sum of all datanumber of data
= 23+27+18+124
= 804
= 20
For a set with an even number of values, the median is the mean of the two middle values.
Arranging the numbers in ascending order, we get
12, 18, 23, 27
Median = 18+232
= 412
= 20.5
Hence, the mean and median of the data set are 20 and 20.5.