Skip to main content
CS Teaching Tips

Main navigation

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

Have students break their code into smaller pieces to find out where the bug might be.

  • If the code is in smaller pieces, it’s easier to pinpoint what parts aren’t working and focus on them rather than the entire program.

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

Emphasize to students that nitty-gritty details are not important for understanding fundamental principles of computer science to motivate students to focus on their big picture understanding.
Misconception: With conditionals, students may try to compare the memory address of a function to a number, like x < foo, when they intended to compare x with the return value of foo.
When explaining program structure, highlight which aspects of the program are static and which are dynamic in order to clearly distinguish between the two.

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

Privacy Policy