Well - It depends how you define the mode. I am looking at the VALUE of the mode, whereas you are looking at determining the Modal CLASS.
They'll specify which they want.
However, the median is the middle piece of data. This doesn't neccessarily have to lie in the modal class (see stem/leaf diag below).
0 | 1,2,3,4,5,6,7,8,9
1 | 1,2,3,4,5,6,7,8
2 |
3 | 3
4 | 4
5 |
The modal class is the first class ("0"), but the median is the first value in class "1" (of value 11).