Codekids Quiz 4

See how much you remember!

Try to answer the following questions:

1. What is a variable?

2. What is an 'Int'?

3. How do you say this command?

int Nobody = 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;

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)

6. What are these called?

{ }

 

Go back to the home page.