Skip to main content
CS Teaching Tips

Main navigation

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

Encourage students to write the inside of the loop before the loop syntax to help students recognize the conditions necessary for iteration.

Share Encourage students to write the inside of the loop before the loop syntax to help students recognize the conditions necessary for iteration. with FacebookShare Encourage students to write the inside of the loop before the loop syntax to help students recognize the conditions necessary for iteration. with Twitter
  • Direct students struggling with loops to write on paper what should happen, then have them determine the start, end, and update values.

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

Emphasize the need to account for the empty case, which is often overlooked and causes errors.
Highlight the basic syntax and semantics of Ruby on Rails without referencing complex external concepts like closures and blocks to enhance beginning students learning to code them quickly.
Use sounds in Scratch to make it clear when particular lines of code are being executed because it can be really hard for students to figure out the order of execution.
  • 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