Thursday, April 14, 2011


What is a variable?
A variable is a placeholder for some value, much like x and y are popular variables in algebra.
How are variable represented in Scratch?
In Scratch, variables are represented with blocks shaped like elongated circles, uniquely labeled by you.
What are the two types of variables and how can they be used?
Variables, generally speaking, can be local or global. In Scratch, a local variable can be used by just one sprite; a global variable can be used by all of your sprites.

What is a Boolean variable?A variable that only takes on a value of true (i.e., 1) or false (i.e., 0), incidentally, is called a Boolean variable.

No comments:

Post a Comment