Skip to main content
CS Teaching Tips

Main navigation

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

Explain through metaphor that return values allow a primary function to get information from a secondary function.

Share Explain through metaphor that return values allow a primary function to get information from a secondary function. with FacebookShare Explain through metaphor that return values allow a primary function to get information from a secondary function. with Twitter
  • More explicitly consider the following conversation metaphor: A primary function may ASK a secondary function a QUESTION by calling it. The secondary function RESPONDS by returning an answer.

More about this tip

Tags

  • Programming Concepts
External Source

Interview with Nick Melnyk

Other Tips By
Other Tips By Nick Melnyk

Similar tips

Give students tips and resources to help them shift from one programming language to another.
Create a programmatic contract, a document that states students will break an assignment into smaller components, for a large programming project to give students experience with modular design.
Tell students they have to believe that some things just work before they will understand why it works because they need exposure to a lot of material before some concepts make sense individually.

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

Privacy Policy