Skip to main content
CS Teaching Tips

Main navigation

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

Misconception: Students sometimes will use reserved keywords as variable names.

  • Inform students of this mistake so they can avoid it and check for accidental keyword use for variables when they’re debugging.

More about this tip

Tags

  • Content Misconceptions
External Source

Interview with Rachel Menzies.

Other Tips By
Other Tips By Rachel Menzies

Similar tips

Misconception: Students who first learn object-oriented programming in Python don’t realize they need to explicitly define instance variables in Java because this is done implicitly in Python.
Teach students that running tests cannot prove that a code works. It can, however, prove that code is not working.
Misconception: students struggle with the onMousePress method (and other mouse interaction methods) in the Java objectdraw Library from Williams College; they need help understanding it’s called even when don’t explicitly call it.

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

Privacy Policy