Skip to main content
CS Teaching Tips

Main navigation

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

Programming Concepts

Have students draw a scalable smiley face through programming to motivate the importance of using variables.

Use SRec, a recursion visualization tool, in your introductory Java courses to help students conceptualize the recursive algorithms they write.

Organize an activity where students make phone calls to their classmates with the goal of summing the numbers 1 through 6 in order to demonstrate recursion.

Show students examples of infinite loops in Alice using Do-together and Do-in-order blocks with the goal of furthering students’ understanding and recognition of for loops.

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.

Have students play the Gidget debugging game for practice debugging in an engaging environment.

Misconception: Students believe that boolean values can only be used in conditionals.

Misconception: Students think that two different variables cannot refer to the same object.

Trace through example code in class to show and encourage students to debug effectively

Misconception: Students believe that a method can only be called once on a given object.

Pagination

  • Previous page ‹‹
  • Page 4
  • Next page ››
Subscribe to Programming Concepts

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

Privacy Policy