Skip to main content
CS Teaching Tips

Main navigation

  • Browse All Tips
  • Tags
  • 3D
  • About
  • Rate Tips
  • Tip Sheets

Show the class different ways nations choose their next monarch to illustrate pre-order and level order traversals as students visualize tree traversal methods.

Share Show the class different ways nations choose their next monarch to illustrate pre-order and level order traversals as students visualize tree traversal methods. with FacebookShare Show the class different ways nations choose their next monarch to illustrate pre-order and level order traversals as students visualize tree traversal methods. with Twitter
  • Call this activity:
    • Who Gets to Be King?
  • The British use pre-order to choose their monarch.
  • The Saudis use level-order to choose their monarch.

More about this tip

Tags

  • Meaningful and Relevant Content
  • Programming Concepts
External Source
Interview with Ria Galanos
Other Tips By
Other Tips By Ria Galanos

Similar tips

Have students design a game of Breakout in Java to practice using conditionals and nested for loops.
Discuss and explore the difference between additive (sequential) and multiplicative (nested) loop structures to give students practice reasoning about loops.
Explain recursion with the example of determining your row in a stadium by asking the row in front of your what row it is… asking until you get to the first row, the base case.
  • CSTT Facebook
  • CSTT Twitter

For more information or to report a bug, contact us at admin@csteachingtips.org. Built with Bootstrap. Footer Icons by Mohammed Alyousfi. Powered by Drupal.

Privacy Policy

  • National Science Foundation
  • Sage Fox Group
  • Harvey Mudd College