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

Misconception: Students mistakenly believe comparison expressions use the same syntax in math, English, and logic.
Use tupperware containers and act out being the computer to teach students how in CS variables and statements like x=x+1 are different than variables and equations in math by creating a meaningful visualization.
Misconception: Students may have trouble identifying errors in their code that cause elements to disappear from the page.

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

Privacy Policy