wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Animation 1

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Alice wrote a code: rect(100,200);

Which shows correct?

a)

b)

c)

d)
2.

Bob wrote the code:

rect(100,200);

fill("green");

Which description is correct?

a)

This is a blue square

b)

This is a grey square

c)

This is a green square

d)

This is a green circle

3.

Cindy wrote the codes:

rect(200,150);

fill("yellow");

rect(350,300,50,100);

Which following image is correct?

a)
b)
c)
d)
4.

Cindy wrote the codes:

//fill("yellow");

rect(200,150);

fill("yellow");

rect(350,300,50,100);

Which following image is correct?

a)
b)
c)
d)
5.

David wants to generate the following image, which group of codes is correct?

a)

fill("pink");

rect(100,100);

rect(200,100);

fill("red");

rect(150,150);

fill("orange");

rect(100,200);

rect(200,200);

b)

fill(pink);

rect(100,100);

rect(200,100);

fill(red);

rect(150,150);

fill(orange);

rect(100,200);

rect(200,200);

c)

fill("pink");

rect("100,100");

rect("200,100");

fill("red");

rect("150,150");

fill("orange");

rect("100,200");

rect("200,200");

d)

fill('pink')

rect(100,100);

rect(200,100);

fill('red');

rect(150,150);

fill('orange');

rect(100,200);

rect(200,200);

6.

How many lines of the following codes have problems?

1. rect(100,200)

2. fill{"red"};

3. rect(200,300);

4. fill('pink');

5. rect(100,100,200,200);

6. rect(100);

a)

2

b)

3

c)

4

d)

5

7.

Elsa wrote the following codes, which generated image can match to her codes?

a)

b)

c)

8.

Finn wrote a code:

fill("red");

rect(50,50,100,100);

fill("blue");

rect(100,100,200);

fill("yellow");

rect(300,300);

fill("green");

rect(0,0,300,300);

Which colour can fill the most?

a)

red

b)

blue

c)

yellow

d)

green

9.

Which colour can be showed in the generated image by the following code?

fill("red");

rect(50,50,100,100);

fill("green");

rect(0,0,300,300);

fill("yellow");

rect(400,0,150,300);

//fill("pink");

fill("navy");

rect(300,300,150,150);

a)

red, green, yellow,pink, navy

b)

green,navy

c)

green,navy,yellow

d)

green,yellow,pink

10.

Which following statement is correct?

a)

Write down the wheel code first

b)

Write down the wheel code as the last

c)

The wheel codes should be: ellipse()

d)

The car body code construction should be:

rect();

fill("red");