Skip to main content
CS Teaching Tips

Main navigation

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

Have all functions return something in an intro course to help students understand that functions have a start and an end, even though they are always returning.

Share Have all functions return something in an intro course to help students understand that functions have a start and an end, even though they are always returning. with FacebookShare Have all functions return something in an intro course to help students understand that functions have a start and an end, even though they are always returning. with Twitter
  • Seeing what is returned allows students to start debugging without immediately needing to step through the inside of the function. from a function helps students debug what’s going on inside of the function without immediately digging into the function.

More about this tip

Tags

  • CS 1
  • Intro Programming
  • Development Methods
External Source

Interview with Walt Schilling

Other Tips By
Other Tips By Walt Schilling

Similar tips

Use examples that have nothing to do with computers to introduce new CS concepts in an accessible way.
Misconception: Students have trouble understanding that when the value of a variable is reassigned its previous value is irrelevant.
Have students create a Python program that implements an automated authorship detection algorithm, which gives them an opportunity to practice working with strings, lists, and loops.

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

Privacy Policy