Skip to main content
CS Teaching Tips

Main navigation

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

Teach students how to trace out-of-bounds errors by demonstrating on the board.

Share Teach students how to trace out-of-bounds errors by demonstrating on the board. with FacebookShare Teach students how to trace out-of-bounds errors by demonstrating on the board. with Twitter
  • Explicitly write, cross out, and update variable-value pairs when tracing through code that iterates.

More about this tip

Tags

  • Development Methods
External Source

Interview with Nick Melnyk

Other Tips By
Other Tips By Nick Melnyk

Similar tips

Misconception: Students may have trouble identifying errors in their code that cause elements to disappear from the page.
Have pair programming groups rotate computers every 10 minutes in an activity where they have to continue to solve the assigned problem using other pairs’ code to motivate writing good comments.
Teach students to storyboard in Alice so they know a systematic process to follow when approaching challenging problems.

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

Privacy Policy