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

Beginning students are used to viewing computers from a user’s perspective, and they subsequently have habits that may conflict with using the computer as a programmer.
Use constructive and well-formed examples, like Quicksort, to teach recursion so that students have a strong model for building their own solutions.
Explain recursion with the example of determining your row in a stadium by asking the row in front of your what row it is… asking until you get to the first row, the base case.

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

Privacy Policy