Skip to main content
CS Teaching Tips

Main navigation

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

Use realistic examples of class variables to increase understanding.

  • For example, consider a student class that allocates unique ID numbers sequentially to students.
    • The class would need a variable to store the next available unique ID number.

More about this tip

Tags

  • CS 1
  • Intro Programming
  • Meaningful and Relevant Content
External Source

Interview with Charlie McDowell

Other Tips By
Other Tips By Charlie McDowell

Similar tips

Connect search to students’ experience with Ctrl+F or Find in various applications after they’ve written code for a search algorithm to help them understand the value of this concept in their daily lives.
Introduce object states early when teaching object-oriented programming.
Cover the outer-loop of nested loops when tracing through loops to help students see the inner loop runs just like a single loop during execution to help students understand nested loops.

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

Privacy Policy