wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Processing 01 - MCSHS DIG07/DIG08

Total questions: 14

Worksheet time: 8mins

Name
Class
Date
1.

What character tells Processing that it's reached the end of a line

a)

!

b)

;

c)

/

d)

}

2.

Which command would you use to draw a circle

a)

round();

b)

circle();

c)

shape();

d)

ellipse();

3.

RGB stands for

a)

Red, Green, Blue

b)

Really Good Boy

c)

Right, Greater Than, Binary

d)

Red, Grey, Brightness

4.

Which command changes the colour of the outlines of shapes?

a)

strokeWeight();

b)

lineColor();

c)

fill();

d)

stroke();

5.

Which command changes the colour on the inside of a shape?

a)

fill();

b)

color();

c)

colour();

d)

insideColor();

6.

If we used the command:

size(300,600);

What shape would our canvas be?

a)

A Square

b)

A wide rectangle

c)

A tall rectangle

7.

The 'y' axis runs vertically (up and down)

a)

True

b)

False

8.

Would this command successfully draw a rectangle:

rect(100,100);

a)

Yes

b)

No

9.

Processing adds shapes to the canvas in the order in which they appear in the code.

a)

True

b)

False

10.

rect(100,200,300,400);

How wide would this rectangle be?

(a)  

11.

void (a)   (){

rect(100,100,100,100);

}

12.

If I want my shape to follow the left-to-right position of my mouse, what keyword do I need to use?

a)

ellipse

b)

mouseY

c)

mouseX

d)

banana

13.

Which of these is a correct way to change the colour of a shape

a)

fill(55FF6G)

b)

fill(100,255,80);

c)

fill(#55FF65);

d)

colour('red');

14.

What does strokeWeight(); control?

a)

How much your sketch weighs.

b)

How far a shape is from the top of the canvas.

c)

How thick the outline of shapes are.

d)

Which shape is on top.