Codekids Quiz 5

See how much you remember!

Try to answer the following questions:

1. WhatIsTheNameForThisKindOfWritingWithAllTheWordsStuckTogether?

2. What will processing do if you give it these commands?

size(400, 400);

noStroke();

fill(0,200,0);

rect(0,0,200,100);

fill(0,0,200);

rectMode(CENTER);

rect(200,200,100,100);

3. How do you say this command?

if (circleSize == 10){

circleSize = 100;

}

 

4. What does the rectMode(CENTRE); command do?

 

 

5. What does the rectMode(CENTER); command do?

 

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

size (400,400);

background(0);

fill(0,0,0);

int mrVariable = 45;

if (mrVariable == 30){

ellipse(200,200,20,20);

}else {

rectMode(CENTER);

rect(200,200,20,20);

}

7. Will you be able to see the shape made by processing in question 5?

 

 

Go back to the home page.