3. variables Flashcards

1
Q

What is a variable ?

A

A variable is like a box that holds something inside.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Name 2 criterias of a variable.

A
  1. A variable stores a value.
  2. A variable has a name.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Why do programmers use variables ?

A

Programmers create the variables to hold the value that will change during the running of a program.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When you play a game, your score at the beginning of the game is 0. Does the score change throughout the game?

A

Yes, the score changes as you play the game.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly