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.

Share Emphasize the need to account for the empty case, which is often overlooked and causes errors. with FacebookShare Emphasize the need to account for the empty case, which is often overlooked and causes errors. with Twitter
  • 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

Misconception: students develop the habit of putting the type in front of variables; they don’t realize that this creates a new variable resulting in lots of variables with the same name.
Use these 5 strategies to give students useful debugging strategies that will help them fix Segmentation Faults.
Use a diagram with variable-value pairs for each call of a recursive function to help students see the change of control flow as calls are made and completed.

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

Privacy Policy