Skip to main content
CS Teaching Tips

Main navigation

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

Emphasize the need to account for the empty case, which is often overlooked and causes errors.

  • Remind students that the empty data structure is still a valid data structure.

More about this tip

Tags

  • Development Methods
  • Programming Concepts
  • Algorithms and Design
External Source

Interview with Jim Huggins

Other Tips By
Other Tips By Jim Huggins

Similar tips

Encourage students to work on side projects to make sure they are getting enough programming practice and to make them more marketable.
Ask students "do you know in advance how many times you'll need to go through the loop?" when deciding between using a for or a while loop, because this is a good rule of thumb for them to use.
Misconception: Students have trouble understanding the difference between checked and unchecked exceptions in Java.

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

Privacy Policy