Codekids Quiz 6

See how much you remember!

Try to answer the following questions:

1. When you see a cartoon, do the pictures actually move?

2. What is this processing procedure for?

void setup (){}

3. If you work for Kim's dad, Mr. Oetter, is the following code OK?

if (circleSize == 10){

circleSize = 100;

}

 

4. What is the void draw(){} procedure for?

 

 

5. How do you write "add 1 to mrX" in Processing?

 

6. What will happen if you tell processing the following?

void setup()

{

size(400, 400);
background(0);
stroke(100,50,255);
strokeWeight(20);
smooth();

}

7. What will processing draw with these commands?

int mrX = 40;

point(mrX,200);

mrX = mrX + 40;

point(mrX, 200);

 

Go back to the home page.