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

Always use the keyword ‘this’ in Java, and trace through many examples, to help students understand it.
Compare objects in Java to cloud-hosted documents, such as Google Docs, for a relatable analogy to explain object references with.
Create a programmatic contract, a document that states students will break an assignment into smaller components, for a large programming project to give students experience with modular design.

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

Privacy Policy