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

Organize your curriculum so that topics introduced at the beginning of the class get covered in assignments during the later part of the course to reinforce material.
Rather than taking away points, have students with sub-standard code improve it to better simulate how actual software engineering works.
Spend extra time teaching Big O in intro classes that use Python because the underlying implementation of Python lists is a mystery to students that leads students to believe many operations are constant, O(1), that are not.

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

Privacy Policy