Skip to main content
CS Teaching Tips

Main navigation

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

Misconception: students think that when you assign a = b, there is no longer anything assigned to b because b empties its contents into a.

Share Misconception: students think that when you assign a = b, there is no longer anything assigned to b because b empties its contents into a. with FacebookShare Misconception: students think that when you assign a = b, there is no longer anything assigned to b because b empties its contents into a. with Twitter
  • When you ask a novice student "what happens to b when you assign a = b?", they may think that b no longer contains content as a result of giving it’s content to a.
  • To learn more, watch Mark Guzdial's CS Education Zoo interview.

More about this tip

Tags

  • Content Misconceptions
  • CS 1
  • Intro Programming
  • Programming Concepts
External Source

CS Education Zoo Interview with Mark Guzdial.

Other Tips By
Other Tips By Mark Guzdial

Similar tips

Explain that Java’s return is like a platter where you can hand information between methods to help students create a concrete mental model for an often tricky subject.
Misconception: Students believe that while loops tell the program when to stop rather than when to continue.
Ask your students what they need to know about dice to have enough information about the three aspects of a class to create dice objects building off a common game tool to help students get comfortable with making objects.

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

Privacy Policy