Skip to main content
CS Teaching Tips

Main navigation

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

Misconception: Students believe that when they assign a = b, they are copying b into a rather than making a point to b.

Share Misconception: Students believe that when they assign a = b, they are copying b into a rather than making a point to b. with FacebookShare Misconception: Students believe that when they assign a = b, they are copying b into a rather than making a point to b. with Twitter
  • This misconception is a result of an incorrect mental model of how variable assignment works.

More about this tip

Tags

  • Content Misconceptions
  • CS 1
  • Intro Programming
External Source

"Exploring programming misconceptions: an analysis of student mistakes in visual program simulation exercises" by Teemu Sirkiä and Juha Sorva.

Other Tips By
Other Tips By Juha Sorva
Juha Sorva

Similar tips

Compare classes in Java to the drawers of a file cabinet to model object oriented programming through an easy to recognize analogy.
Misconception: Students often forget to include a FOREVER block around IF blocks in Scratch when programming games.
Misconception: Students think that “return x*x” changes the value of x to be x*x.
  • 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