Skip to main content
CS Teaching Tips

Main navigation

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

Read code aloud to help students debug code by acting it out.

Share Read code aloud to help students debug code by acting it out. with FacebookShare Read code aloud to help students debug code by acting it out. with Twitter

Encourage students to try some debugging off-screen. A common strategy in debugging is to read through each step in the code and trace on paper what the result would be. For example, when working with sprites in Scratch, you can have one student read the code while another acts as the sprite by drawing or moving around the classroom.

Example: "Read the code aloud and pretend to be the cat!"

See this and related tips as a Tip Sheet: http://csteachingtips.org/tips-for-teaching-scratch

More about this tip

Other Tips By
Other Tips By Colleen Lewis

Similar tips

If you refer to sample people to explain concepts (such as Eve the Eavesdropper), select names and personas that are diverse in gender, race, and nationality or are gender-, race-, and nationality-neutral
Motivate students who get discouraged with difficult research tasks by letting them know you believe they can do it and that some tasks are meant to push their boundaries so they can grow.
Help students see that they’re building basic understanding over the course of the semester that will turn into wider understanding since they may become frustrated with their perceived lack of progress.

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

Privacy Policy