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.

  • 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

Use scoreboards to motivate the use of variables because young students have developed strong mental models for scoreboards through previous exposure allowing them to quickly understand what variables are.
Match grammar constructs of nouns and verbs to classes and methods to help students understand what goes into a class because this helps make this difficult object-oriented programming construct easier to understand.
Have students pay special attention to “off by one” bugs to help them avoid common mistakes in their code.

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

Privacy Policy