Scratch Lab 3

Scratch Lab 3 Questions

Are variables in computer programming the same as variables in math class? Why or why not?

No they are not. Math variables are unknown numbers. Programming variables are known.

When creating a variable, what are the two types of scope a variable can have?

They can affect an individual sprite or all sprites.

How many values can a variable store at one time?

One.

What will the following code snippet do?

It will set the values as eachother, which won't do anything.

Given the following code snippet, explain what is happening.

Since there is a temp, the variables won't get lost.

Click HERE to return to homepage.