Skip to main content
CS Teaching Tips

Main navigation

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

Misconception: Students believe that reference pointers go both directions such that objects know what points to them.

Share Misconception: Students believe that reference pointers go both directions such that objects know what points to them. with FacebookShare Misconception: Students believe that reference pointers go both directions such that objects know what points to them. with Twitter
  • Explain to students that objects only know what objects they are pointing towards, not what points towards them.
    • Another way to think of this is that reference pointers are arrows that only point in one direction.

More about this tip

Tags

  • Content Misconceptions
  • CS 1
  • Intro Programming
External Source

"Visual program simulation in introductory programming education" by Juha Sorva.

Other Tips By
Other Tips By Juha Sorva

Similar tips

Show intro students in class how to force stop a program running in terminal because they need to be shown how to get out of a running infinite loop, it’s a very useful skill.
Use CodingBat problems to supplement Java and Python curricula to give students more practice.
Misconception: Return is a mystery to students because they may not understand that functions have an entry point and an exit point. This results in mistakes such as assuming Python will return the right thing.

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

Privacy Policy