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.

Share Use realistic examples of class variables to increase understanding. with FacebookShare Use realistic examples of class variables to increase understanding. with Twitter
  • 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

Have students analyze the effects of changing pieces of a loop to improve their understanding of loop structure.
Have students create a Burrito class in Java to practice object-oriented programming using an object they are familiar with.
Have students find the best method of sorting a group of unknown weights to teach them about sorting algorithms.

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

Privacy Policy