Skip to main content
CS Teaching Tips

Main navigation

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

As a debugging technique, have students write out their programs in their spoken language and compare their description to the code in order to find bugs.

Share As a debugging technique, have students write out their programs in their spoken language and compare their description to the code in order to find bugs. with FacebookShare As a debugging technique, have students write out their programs in their spoken language and compare their description to the code in order to find bugs. with Twitter
  • If students compare what their code is doing and what the description explains it should be doing, they may be able to determine where their error is.

More about this tip

Tags

  • CS 1
  • Intro Programming
  • Development Methods
External Source

Teaching with Logo: Building Blocks for Learning by Molly Watt & Daniel Watt

Other Tips By
Other Tips By Daniel Watt
Daniel Watt

Similar tips

Misconception: students struggle with the onMousePress method (and other mouse interaction methods) in the Java objectdraw Library from Williams College; they need help understanding it’s called even when don’t explicitly call it.
Cover the outer-loop of nested loops when tracing through loops to help students see the inner loop runs just like a single loop during execution to help students understand nested loops.
Remind students that variable assignment occurs in the order assignments are given. This avoids the misconception that changing one value affects other variables assigned before it.
  • 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