The correct option is
D 37
The given data set is 22, 34, 28, 36, 20, 40, 38, 30.
Let us split the data into two halves at Q2 (median)
To find the median of the data, let us arrange the data in ascending order. We get
20, 22, 28, 30, 32, 34, 36, 38, 40
Median = 32
The upper half of the data is 34, 36, 38, 40.
Median (Upper quartile) =
36+382
= 37.
Hence, the upper quartile of the data = 37.