My Scratch Stuff



Click HERE to go to my question cat.

Click HERE to go to my monkey distance formula.

Click HERE to go to the bat.
Click HERE to go to the home page.

Question #1 Are variables in computer programming the same as variables in math class? Why or why not?
Yes, they are different because the variables in math class don't have a value, they are usually X.The variables on the computer usually contain a known quantity of information referred to as a value.

Question #2 When creating a variable, what are the two types of scope a variable can have?
The scope of a variable is the part of the script where the variable can be referenced/used. The different variable scopes are local, global and static.

Question #3 How many values can a variable store at one time?
One.

Question #4 What will the following code snippet do? Explain why it doesn’t work as intended.
They will go at the same time because it doesn't say when, where or for how long to go.

Question #5 Given the following code snippet, explain what is happening.
They are all the same thing because temp=value1=value2=temp.