Skip to main content
CS Teaching Tips

Main navigation

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

Tell your students that they should assume their code has bugs to help decrease their frustration when writing code.

Share Tell your students that they should assume their code has bugs to help decrease their frustration when writing code. with FacebookShare Tell your students that they should assume their code has bugs to help decrease their frustration when writing code. with Twitter
  • Novices in computer science tend to assume that their code is bug-free.
  • Assuming there are bugs will make students more comfortable with the debugging process.
    • This is especially important when students begin writing more complex programs.
  • To learn more, watch Mark Guzdial’s CS Education Zoo interview.

More about this tip

Tags

  • Development Methods
  • CS 1
  • Intro Programming
External Source
CS Education Zoo Interview with Mark Guzdial.
Other Tips By
Other Tips By Mark Guzdial

Similar tips

Start the day with students pair programming and then split them up; it makes later collaboration natural and reduces frustration.
Have students color maps using the fewest number of colors while ensuring that bordering countries are different colors to expose them to optimization problems.
Misconception: Return is a mystery to students because they may not understand that functions have an entry point and an exit point. This results in mistakes such as assuming Python will return the right thing.

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

Privacy Policy