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

Have students break their code into smaller pieces to find out where the bug might be.
Incorporate robotics into your class to increase students’ interest in computer science in order to motivate their learning.
Avoid formal definitions of topics at first in intro courses; these can be intimidating for students, as they can look like “hard math.”

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

Privacy Policy