Skip to main content
CS Teaching Tips

Main navigation

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

Explore students’ syntax errors to reveal their misconceptions.

Share Explore students’ syntax errors to reveal their misconceptions. with FacebookShare Explore students’ syntax errors to reveal their misconceptions. with Twitter
  • For instance, students may type books.title[i] instead of books[i].title
    • This is an error where they are trying to go through an array but instead are trying to remove an item from a non-thing.
    • It demonstrates that a student may not fully understand what can be indexed and what cannot.

More about this tip

Tags

  • Content Misconceptions
  • Development Methods
External Source

Interview with Pamela Fox

Other Tips By
Other Tips By Pamela Fox

Similar tips

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.
Assign students to add comments to code their peers wrote that is void of comments to test students ability to understand the code as well as their peer’s ability to write clear code.
Remind students about steps of the problem-solving process as they develop algorithms to solve programming problems.
  • CSTT Facebook
  • CSTT Twitter

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

Privacy Policy

  • National Science Foundation
  • Sage Fox Group
  • Harvey Mudd College