Students develop algorithms that will calculate the mean and median of numbers inputted. Students then use these algorithms to build understanding of how mean and median calculate the middle of a dataset differently.
Source: Integrated Computational Thinking Modules