Skip to main content
CS Teaching Tips

Main navigation

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

Ask students to identify useless or unnecessary lines of code to assess their understanding of functions.

More about this tip

Tags

  • Development Methods
  • Programming Concepts
External Source

Interview with Jennifer Styer

Other Tips By
Other Tips By Jennifer Styer

Similar tips

Tell students that they have to fix their indentation before you’ll help them debug to encourage well-organized code.
Misconception: Students believe that while loops tell the program when to stop rather than when to continue.
Give students an opportunity (or force them) to use GDB and Valgrind. It teaches them how to use important debugging tools, it develops their debugging skills and it improves their code designing skills and code testing skills.

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

Privacy Policy