Every year, the students at a school are given a musical aptitude test that rates them from 0 (no musical aptitude) to 5 (high musical aptitude). This year's results were:
Aptitude Score 0 1 2 3 4 5
Frequency 1 3 5 4 7 4
The average (mean) aptitude score:
The median aptitude score: