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.

  • 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 nested for loops using a car odometer, the innermost loop controlling the ones digit must cycle fully before the outer loops steps forward, to help students better understand nested loops through a real world example.
Ensure young CS students check their functions with a variety of inputs, as well as with edge cases.
Provide students with an algorithm which is written in everyday language and have students write pseudocode in order to help them practice the process of translating the ideas in their heads into code.

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

Privacy Policy