Skip to main content
CS Teaching Tips

Main navigation

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

Misconceptions: Students have difficulty with loops partially because the motivation for looping a small number of times seems insufficient.

  • With smaller examples (n<10) students often don’t see the need for loops.
  • Give students larger examples to help motivate them.

More about this tip

Tags

  • Content Misconceptions
  • Programming Concepts
  • Development Methods
External Source

Interview with Rachel Menzies.

Other Tips By
Other Tips By Rachel Menzies

Similar tips

Demo visualizations of code executing online, using tools like Python Tutor, and on paper before having students practice visualizing code execution in the same way to better learn how code executes.
Gradually increase the grading strictness about styling to help students become more meticulous about naming and documentation.
Demonstrate swapping variables' values by swapping the contents of two cups full of liquid; you need a third cup to swap the liquids just like you need a third, temporary, variable to swap the values.

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

Privacy Policy