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

Create a programmatic contract, a document that states students will break an assignment into smaller components, for a large programming project to give students experience with modular design.
Use a diagram with variable-value pairs for each call of a recursive function to help students see the change of control flow as calls are made and completed.
Misconception: Students think that when they create a new variable within a function, that function will automatically return that variable’s value when executed.

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

Privacy Policy