Skip to main content
CS Teaching Tips

Main navigation

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

Introduce “base-case” and “smaller-caller” as a helpful way for students to remember the different parts of recursion.

Share Introduce “base-case” and “smaller-caller” as a helpful way for students to remember the different parts of recursion. with FacebookShare Introduce “base-case” and “smaller-caller” as a helpful way for students to remember the different parts of recursion. with Twitter
  • Extra info from the CS Teaching tips TIps: There is a pattern underlying recursive functions. We can help students to see this structure using this rhyming device.

More about this tip

Tags

  • CS 1
  • Intro Programming
  • Programming Concepts
External Source

Interview with Bob Luciano

Other Tips By
Other Tips By Bob Luciano

Similar tips

Run a pair programming contest in Python to motivate, challenge, and boost students’ self-confidence.
Demonstrate swapping variables' values by swapping the contents of two cups full of liquid; you need a third cup to swap the liquids just like you need a third, temporary, variable to swap the values.
Misconception: Students don’t understand that the right side of an assignment statement is executed before the assignment. They think that variables store unresolved equations.
  • 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