Final answer:
The correct median and mean for the number of hours students watched television are 7 hours and 10.3 hours, respectively.
Step-by-step explanation:
To find the median and mean of the number of hours students watched television, we first need to organize the data in numerical order and then apply the appropriate statistical methods.
The data sorted from least to greatest is: 4, 6, 7, 7, 18, 20.
Median
Since there is an even number of observations (6), we take the average of the middle two numbers. The middle numbers are the third and fourth values after sorting, which are 7 and 7.
Median = (7 + 7) / 2 = 14 / 2 = 7 hours.
Mean
The mean is the sum of all the observations divided by the number of observations:
Mean = (4 + 6 + 7 + 7 + 18 + 20) / 6 = 62 / 6 = 10.33 hours (rounded to 10.3).
Therefore, the correct option is:
B. Median: 7 hours, Mean: 10.3 hours