Skip to main content
CS Teaching Tips

Main navigation

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

Compare variables to gym scoreboards to help students understand them and how they can be used in a game.

Share Compare variables to gym scoreboards to help students understand them and how they can be used in a game. with FacebookShare Compare variables to gym scoreboards to help students understand them and how they can be used in a game. with Twitter
  • Just like with scoreboards, variables are a spot that can hold a value.
    • For example, with points, the value that the variable holds goes up.
    • In contrast, with lives, the value the variable holds goes down.

More about this tip

Tags

  • Meaningful and Relevant Content
  • Programming Concepts
External Source

Interview with Dylan Ryder

Other Tips By
Other Tips By Dylan Ryder

Similar tips

Have students implement a rotating substitution cipher in Java that encrypts and decrypts strings in an assignment that gives them practice manipulating strings in a real-world context.
Assign students to draw a dodecagon in Scratch before introducing repeat blocks so that once you introduce the repeat block, it is clear that it is a time-saving block.
Misconception: The update in the index in a for loop (i.e., the third part of the for loop control statement) happens after the all the steps inside of the loop have happened.

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

Privacy Policy