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

Remind students that variable assignment occurs in the order assignments are given. This avoids the misconception that changing one value affects other variables assigned before it.
Emphasize the need to account for the empty case, which is often overlooked and causes errors.
Challenge students to place the fewest number of ice cream vans on a map of a town while maximizing ice cream availability to introduce the brute-force method in an accessible way.

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

Privacy Policy