Skip to main content
CS Teaching Tips

Main navigation

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

Development Methods

Use Problets.org to help students practice programming basics in C++, Java, C#, or Visual Basic

Use this list of common coding errors to help students debug.

When a student gets stuck on syntax, like a missing semicolon, just fix it for them so they don’t become frustrated.

Tell students that they have to fix their indentation before you’ll help them debug to encourage well-organized code.

Teach your students to proofread their code multiple times to help them find typos more effectively.

Emphasize the need to account for the empty case, which is often overlooked and causes errors.

Have students pay special attention to “off by one” bugs to help them avoid common mistakes in their code.

Remember that many misconceptions regarding linked lists also occur when dealing with binary search trees so that you are prepared to identify and correct them.

Build rapport with your class to create a comfortable learning environment. Remind students that overwhelming tasks, like undergoing code reviews, are stressful even for skilled programmers.

Use your own mistakes to teach students what mistakes are common and how to identify them.

Pagination

  • Previous page ‹‹
  • Page 16
  • Next page ››
Subscribe to Development Methods

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

Privacy Policy