Skip to main content
CS Teaching Tips

Main navigation

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

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

  • These are errors that do not account for edge cases; most frequently, the first or last element.

More about this tip

Tags

  • Development Methods
External Source

Interview with Jim Huggins

Other Tips By
Other Tips By Jim Huggins

Similar tips

Make sure not to ask students of color questions that essentialize their entire race or racism, don’t make the assumption that students of color are experts on all things related to their culture or racism.
Create an environment where students know how to stay focused by making it easier to identify off-task behavior
Ask students to identify useless or unnecessary lines of code to assess their understanding of functions.

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

Privacy Policy