Skip to main content
CS Teaching Tips

Main navigation

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

Molly Watt

When explaining code to the class, project your code and use a tablet to draw on top of it. Ask students for debugging suggestions to make them more comfortable finding bugs and to show them that all programmers, even you, make mistakes.

Help students monitor their emotional experience to know when they should take a break from writing code to maximize learning and student attitudes.

When students are working on projects, especially open-ended ones, resist the urge to intervene. Don’t do the job for them!

Have students keep a “bug collection” in a journal so they can more easily recognize and eliminate bugs in the future.

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

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.

Use metaphors and analogies to describe how concepts work in a memorable way.

Keep a bag of “survival tricks” on hand that will keep students interested and motivated.

Help students find bugs by drawing or writing out what their code does at each step.

Talk through your code as you write it so students learn how to approach problems.

Pagination

  • Page 1
  • Next page ››
Subscribe to Molly Watt

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

Privacy Policy