Rate Tips

Have half of your students play the role of a sorting algorithm and half play the role of data to help them understand sorting.

  • Have students (re)invent sorting algorithms and tell them the name of the one they invented.
    • Providing the name of the sorting algorithm can provide societal context.
  • Inventing a sorting algorithm with the class is a great opportunity to think about data structures contextually.
    • Have the class if the data structure for your sorting algorithm is a list or a vector.
  • Using only comparison based sorting rather than more complex algorithms can make interactive activities more manageable.
    • When having students act out comparison-based sorting algorithms, sometimes comparisons get missed.
      • Make sure to check that all comparisons happen, this can be a useful for demonstrating debugging.
External Source: 

Interview with Janet Davis

Other Tips By: