Skip to main content
CS Teaching Tips

Main navigation

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

Ask students to identify useless or unnecessary lines of code to assess their understanding of functions.

More about this tip

Tags

  • Development Methods
  • Programming Concepts
External Source

Interview with Jennifer Styer

Other Tips By
Other Tips By Jennifer Styer

Similar tips

Track the variable values of a recursive function using multiple pieces of paper to form a “stack” so that students can visualize what happens when a method calls itself and how each method call has its own unique variable values.
Have students pay special attention to “off by one” bugs to help them avoid common mistakes in their code.
Emphasize the difference between terms that may have a similar meaning in English, but not in code.

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

Privacy Policy