Skip to main content
CS Teaching Tips

Main navigation

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

Encourage students to visualize how memory and references work.

Share Encourage students to visualize how memory and references work. with FacebookShare Encourage students to visualize how memory and references work. with Twitter
  • One effective strategy is to have students draw a picture!

More about this tip

Tags

  • CS 1
  • Intro Programming
External Source

Interview with Charlie McDowell.

Other Tips By
Other Tips By Charlie McDowell

Similar tips

As a debugging technique, have students write out their programs in their spoken language and compare their description to the code in order to find bugs.
When explaining code to the class, project your code and use a tablet to draw on top of it. Ask students for debugging suggestions to make them more comfortable finding bugs and to show them that all programmers, even you, make mistakes.
Misconception: students develop the habit of putting the type in front of variables; they don’t realize that this creates a new variable resulting in lots of variables with the same name.

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

Privacy Policy