In the same assignment question no. 4, you will find that mode and median both are same.
median is the middle most observation and if middle most observation is the most frequent observation then both mode an median will be same.
Thanks,
Nitin Kumar Jha
statistics course instructor