Given:
The total number of students is 7.
The number of hours that they watched television last week is 14, 7, 12, 17, 12, 17, 4 hours respectively.
To find the mean and median number of hours for these students:
Using the mean formula,
Thus, the mean is 11.9.
Let us write the hours in ascending order.
4, 7, 12, 12, 14, 17, 17.
The middle term of the given data is 12.
Thus, the median is 12.