Skip to main content
CS Teaching Tips

Main navigation

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

Find examples that help motivate difficult abstract concepts - like passing in a value to a function - to help students see their usefulness.

Share Find examples that help motivate difficult abstract concepts - like passing in a value to a function - to help students see their usefulness. with FacebookShare Find examples that help motivate difficult abstract concepts - like passing in a value to a function - to help students see their usefulness. with Twitter
  • For motivating passing in values: if students have a helper function that draws a square and they are then asked to use the helper function in a function that draws squares all over the screen, it is easier to motivate passing in a location, because it needs to know where to draw a square.

More about this tip

Tags

  • Programming Concepts
External Source

Interview with Michelle Friend

Other Tips By
Other Tips By Michelle Friend

Similar tips

Misconception: Students don’t understand that the right side of an assignment statement is executed before the assignment. They think that variables store unresolved equations.
Misconception: When students use the division operator during declaration or assignment of a Double in Java, like double x = a/b, they forget about integer division, which can result in rounding errors.
Use note passing for explaining the difference between methods with no return (void methods) and methods with return to provide students with a relatable example.
  • 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