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.
Misconception: Students may think that assigning one array to point to another array makes a copy of that array, failing to make a distinction between shallow and deep copies.
Teach "if" statements before "switch" statements, then explain how "switch" is a specialized case of "if" by translating an "if" statement into a "switch" statement.

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

Privacy Policy