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.

Share Misconceptions: Students have difficulty with loops partially because the motivation for looping a small number of times seems insufficient. with FacebookShare Misconceptions: Students have difficulty with loops partially because the motivation for looping a small number of times seems insufficient. with Twitter
  • 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

Remind students that the computer will run any code that compiles, no matter how unreasonable, because it doesn’t have the ability to determine if code is reasonable or not.
Split students into groups responsible for programming different tasks in Java to create a Set game, this will allow them to learn to distributed work in environments that mirror industry.
Have students pay close attention to loop bounds when tracing through code to help them identify and avoid off-by-one errors caused this way.
  • 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