Skip to main content
CS Teaching Tips

Main navigation

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

Ask students to identify useless or unnecessary lines of code to assess their understanding of functions.

More about this tip

Tags

  • Development Methods
  • Programming Concepts
External Source

Interview with Jennifer Styer

Other Tips By
Other Tips By Jennifer Styer

Similar tips

Use the model of Towers of Hanoi in order to help students understand recursion. To demonstrate Towers of Hanoi, use three baby ring-stacking toys and the programming language Alice.
Misconception: Students often think that classes hold Objects rather than understanding that they’re a blueprint for Objects because of the main method.
Misconception: With conditionals, students may try to compare the memory address of a function to a number, like x < foo, when they intended to compare x with the return value of foo.

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

Privacy Policy