wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Game Lab Shapes 1

Total questions: 16

Worksheet time: 16mins

Name
Class
Date
1.

What does CS stand for?

a)

Computer Science

b)

Computing Studies

c)

Computer Studies

d)

Computing Science

2.

What do computers need to complete tasks?

a)

A mouse, a keyboard and a monitor

b)

Precise instructions

c)

A hard drive

d)

Nothing, computers already know what to do

3.

What does ellipse() do?

a)

Draw an ellipse

b)

Draw a square

c)

Draw a circle

d)

Draw a rectangle

4.

What does rect() do?

a)

Draw a circle

b)

Draw a square

c)

Draw a triangle

d)

Draw a rectangle

5.

What does fill()?

a)

Fill shapes with the stated colour.

b)

Set the colour of the shapes border

c)

Set the colour of the grid

d)

Set the colour of the page

6.

What do the x and y in rect(x,y) represent?

a)

The height and width

b)

The length and depth

c)

The coordinates of the rectangle

d)

The area and volume

7.

What do these instructions do?


fill("red")

rect(175, 175)

fill("blue")

rect(200, 200)

a)

Place a red and blue rectangle on the grid.

b)

Place a red and blue circle on the grid.

c)

Nothing, there is an error

d)

Place two red rectangles on the grid.

8.

Where is (0,0) in the grid?

a)

In the top left corner

b)

In the top right corner

c)

In the bottom left corner

d)

In the middle of the grid

9.

Where is (0,0) in the grid?

a)

In the top left corner

b)

In the top right corner

c)

In the bottom left corner

d)

In the middle of the grid

10.

What does background() do?

a)

Set the colour of the background grid.

b)

Set the colour of all shapes

c)

Set the colour of each shapes border

d)

Set the fill colour for all shapes.

11.

What does randomNumber()?

a)

Chooses a random number between a minimum and maximum value.

b)

Chooses random number that is not any of the two values.

c)

Generates the same number every time

d)

Generates any random number

12.

What does the following code do?

fill("orange");

ellipse(200, 200, 250, 300);

fill("green");

ellipse(200,200,200,150);

a)

Create two circles of different sizes with different colours in different positions

b)

Create two circles of the same colour, size and position.

c)

Create two circles of the same colour with different sizes and in different positions.

d)

I don’t know

13.

What does the following code do?

background("yellow")

fill("purple")

rect(50, 50, 100, 100)

fill("blue")

rect(250,250, 100, 100)

a)

Create an image with a yellow background and two rectangles.

b)

You just see the yellow background

c)

You just see the rectangles

d)

You just see the yellow background and one of the rectangles.

14.

What does ellipse (x,y,w,h) do?

a)

Create an ellipse using x and y coordinates and sets the width and height as well.

b)

Create an ellipse using x and y coordinates and sets the diameter and radius as well.

c)

Create an ellipse using x and y coordinates.

d)

I'm not sure

15.

What does rect(x,y,w,h) do?

a)

Create a rectangle using x and y coordinates and sets the width and height as well.

b)

Create a rectangle using x and y coordinates and sets the diameter and radius as well.

c)

Create a rectangle using x and y coordinates.

d)

I'm not sure

16.

What does the following code do?

fill("purple");

rect(50,50, 100,100);

background("yellow");

fill("blue");

rect(250,250, 100, 100);

a)

Create an image with a yellow background and two rectangles.

b)

You just see the yellow background

c)

You just see the rectangles

d)

You just see the yellow background and one of the rectangles.