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

Misconception: Novice students struggle with understanding and correctly using CSS selectors in advanced and complex ways, particularly with selector specificity.
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.
Help students build intuition about recursion in Python by comparing each recursive call to a function call, which may be more intuitive for students in introductory classes.

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

Privacy Policy