Skip to main content
CS Teaching Tips

Main navigation

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

Ensure young CS students check their functions with a variety of inputs, as well as with edge cases.

Share Ensure young CS students check their functions with a variety of inputs, as well as with edge cases. with FacebookShare Ensure young CS students check their functions with a variety of inputs, as well as with edge cases. with Twitter
  • Young students can have a tendency to not check whether their output is correct or not, but are simply content with the program producing an output. They can also have a tendency to avoid edge cases; place additional focus on them thorough program testing.

More about this tip

Tags

  • CS 1
  • Intro Programming
  • Development Methods
External Source

"Computer science as a cultural encounter" by Yifat Ben-David Kolikant, under "Challenges posed by the students"

Other Tips By
Other Tips By Yifat Ben-David Kolikant

Similar tips

Encourage students to write clear, well-commented code by having students switch partners in the middle of a project.
When a student gets stuck on syntax, like a missing semicolon, just fix it for them so they don’t become frustrated.
Show a variety of for loops conditionals (e.g., < vs. <=; different variable names, different start values, different increment operations) to avoid common misconceptions about loops.
  • CSTT Facebook
  • CSTT Twitter

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

Privacy Policy

  • National Science Foundation
  • Sage Fox Group
  • Harvey Mudd College