Skip to main content
CS Teaching Tips

Main navigation

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

Have students use lollipop sticks or toothpicks to represent each statement call in an N-ary recursive algorithm.

Share Have students use lollipop sticks or toothpicks to represent each statement call in an N-ary recursive algorithm. with FacebookShare Have students use lollipop sticks or toothpicks to represent each statement call in an N-ary recursive algorithm. with Twitter
  • Each lollipop stick or toothpick represents each recursive call that is made.
    • Cover up portions of recursive call tree to show students that any sub-recursive call looks and acts just like the the main recursive calls.

More about this tip

Tags

  • Programming Concepts
  • Algorithms and Design
  • Meaningful and Relevant Content
External Source
Interview with Renada Poteat
Other Tips By
Other Tips By Renada Poteat

Similar tips

Motivate for-loops by having students informally describe how to draw a set of 5 shapes, then having them turn this description into pseudocode to practice for-loops.
Run a pair programming contest in Python to motivate, challenge, and boost students’ self-confidence.
Include college seniors in intro courses by having them write blog posts reviewing interesting developments in information technology to engage intro CS students.
  • 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