Skip to main content
CS Teaching Tips

Main navigation

  • Browse All Tips
  • Tags
  • About
  • Cards
  • 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
Like(2502 Likes)
  • 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

In anticipation of a relatively large project, assign smaller projects that include the programming concepts necessary for the large project.
Use Potato Head Toys to teach classes, objects, methods, and properties so that students develop hands on experience with abstract topics.
Misconception: students sometimes struggle to identify where in a loop variable values get changed.
  • 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