Skip to main content
CS Teaching Tips

Main navigation

  • Browse All Tips
  • Tags
  • About
  • Cards
  • 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

In Javascript, put off object-oriented design until last to avoid complexity students don’t need.
Have students create a program in Python that draws a map of the stars in order to gain practice using dictionaries to manipulate real data.
Use a number-guessing game that pushes students to use binary search in a fun and interactive activity that allows you to introduce binary sort in a grounded manner.
  • 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