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

Use dice to introduce instantiable classes in Java because it’s easier for novice students to create classes based on a familiar object.
Misconception: Students confuse static and final variables in Java.
Avoid using x and y as variable names to prevent students from confusing variable assignments with mathematical expressions.

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

Privacy Policy