Skip to main content
CS Teaching Tips

Main navigation

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

Direct students struggling with loops to write on paper what should happen, then have them determine the start, end, and update values.

Share Direct students struggling with loops to write on paper what should happen, then have them determine the start, end, and update values. with FacebookShare Direct students struggling with loops to write on paper what should happen, then have them determine the start, end, and update values. with Twitter

More about this tip

Tags

  • Development Methods
  • Programming Concepts
External Source

Interview with Nick Melnyk

Other Tips By
Other Tips By Nick Melnyk

Similar tips

Have students use a recursive algorithm to solve the problem of only eating the squares of a chocolate bar that contain nuts to introduce recursive algorithms for arrays.
Use constructive and well-formed examples, like Quicksort, to teach recursion so that students have a strong model for building their own solutions.
Ask students to predict the output of code to demonstrate code tracing ability
  • 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