Flashcards
Untitled

Cards in this deck (1)
- 1—Variables are data values that can change when the user is asked a question, for example, their age. Variables may change during program execution.
A variable is a memory location. It has a name that is associated with that location. The memory location is used to hold data. The key difference when comparing a constant to a variable is that the value associated with a variable name may change during program execution. For example 'highScore' would need to be variable to change throughout a game.
Information
- Description
- Flashcards on Untitled, created by jobyfletcher1 on 06/02/2015.
- Created by
- jobyfletcher1
- Views
- 2
- Rating
More on Variables, Constants and Data Types