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.

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

Use a variety of teaching styles to keep your students’ attention throughout the duration of the class period.
Structure collaboration to help students develop a peer network.
Ask students to respond to their peers’ comments and questions, along with other procedures, to facilitate classroom discussions that move forward as a result of meaningful student engagement.

Similar tips

Stretch your students to help them improve their skills by asking them what they are most struggling with and making them do that regularly.
Use plagiarism detection tools such as AntiCutAndPaste and/or MOSS (Measure Of Software Similarity) to easily discover if any of your students are cheating off of one another.
Have students use lollipop sticks or toothpicks to represent each statement call in an N-ary recursive algorithm.

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

Privacy Policy