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.

  • 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

Have assignments include visualizations of the code students create and run to help them see exactly what it does.
Misconception: Students have difficulty working with temporary variables in arrays.
Use Practice-It as supplementary Java problems for an introductory programming course to give students more practice.

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

Privacy Policy