The document explains how to compute the median and mode from both ungrouped and grouped data, detailing the formulas and processes involved. It includes examples for clarity, such as estimating cumulative frequencies and calculating the mode under different conditions, including unimodal, bimodal, and polymodal distributions. Additionally, special cases are highlighted when n/2 equals cumulative frequencies, showcasing how to approach calculations in these scenarios.