Glossary / Variable

Term: Variable

In programming, a variable is a named data location in a program for a value that can be changed during the running of the program.

Think about computer games.  The following variables may be needed:

  • Bullets
  • Score
  • Lives
  • Level
  • Health
  • Speed

The values stored in these variables will change throughout the running of the game.