Try to answer the following questions:
1. What is a variable?
Choose an answer A quick way to say 'very able' A name that you use to store a value A wierd computer programming word A delicious kind of Danish jello
2. What is an 'Int'?
Choose an answer A treelike creature from Lord of the Rings. The Ants' word for 'Human' The introduction part of a computer program A counting number
3. How do you say this command?
int Nobody = 27;
Choose an answer Int Nobody equals 27 Int Nobody is equal to 27 Integer Nobody is 27 Int Nobody gets 27
4. After processing finishes the following code, what will be the value of circleSize ?
int circleSize = 400; circleSize = circleSize - 10; circleSize = circleSize + 20; circleSize = circleSize - 10;circleSize = circleSize - 400; circleSize = circleSize + 10;
Choose an answer 850 410 400 390 10
5. What will happen if you tell processing the following?
size(400,400); background(0); int nobody = 20; strokeWeight(nobody); stroke(0,250,0); point(200,200)
size(400,400);
background(0);
int nobody = 20;
strokeWeight(nobody);
stroke(0,250,0);
point(200,200)
Choose an answer Processing will make a 20 pixel round red dot in the middle Processing will make a 20 pixel round green dot in the middle Processing will make a 1 pixel green dot in the middle Processing will make a 1 pixel blue dot in the middle Processing will make a black 400 by 400 window and then crash Processing will crash
6. What are these called?
{ }
Choose an answer Brackets Curly braces Parentheses Semi-brackets Squiggly thingymabobbers
Go back to the home page.