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

Show students what code looks like with and without new programming constructs (e.g., methods, Objects, inheritance, loops, switch statements) to motivate the reasons for using new concepts.
Tell your students that they should assume their code has bugs to help decrease their frustration when writing code.
Introduce terms like declaration, initialization, and operand that often appear in C++ error messages so that students are prepared to understand and interpret the error messages they come across using C++.

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

Privacy Policy