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.

  • 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

Use popular, repetitive music to teach loops in a beginning course because this motivates the purpose and application of loops while keeping students engaged by referencing popular culture.
Show students explicitly how objects and variables might have other names (i.e., aliasing) to help students understand that variable names don’t have to match parameter names because students often find this confusing.
Have students break their code into smaller pieces to find out where the bug might be.

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

Privacy Policy