Skip to main content
CS Teaching Tips

Main navigation

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

Be explicit about what direction references point when teaching about objects and references.

Share Be explicit about what direction references point when teaching about objects and references. with FacebookShare Be explicit about what direction references point when teaching about objects and references. with Twitter
  • Students have the misconception that objects "know" what methods are operating on them, rather than methods "knowing" what objects they are operating on.

More about this tip

Tags

  • Content Misconceptions
  • CS 1
  • Intro Programming
External Source

"Visual program simulation in introductory programming education" by Juha Sorva, from Appendix A: Misconception Catalogue

Other Tips By
Other Tips By Juha Sorva

Similar tips

Have the class make instructions for a Robot class you created that will bring Chipotle back to the classroom to motivate instructions and method sequencing.
DrJava, the Java interpreter, gives students an interactive environment to practice testing strategies in.
Ask students "do you know in advance how many times you'll need to go through the loop?" when deciding between using a for or a while loop, because this is a good rule of thumb for them to use.
  • 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