wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

7th Grade: Unit 3 Code.org Lesson 11 & 12 + review of all

Total questions: 35

Worksheet time: 18mins

Name
Class
Date
1.

The X and Y part of these blocks help us.....

a)

place any shape or sprite in a specific area on the screen.

b)

change how big or small the shape or sprite is

c)

move the shapes

d)

create a new plot

2.

The W and H part of these blocks help us.....

a)

place any shape or sprite in a specific area on the screen.

b)

change how wide or tall the shape or sprite is

c)

move the shapes

d)

create a new plot

3.

How do we use this block in code.org?

a)

We have to place this block by a shape or sprite in order to change its size.

b)

We use this to change all colors

c)

We have to put this block at the end of the code

d)

We have to place this block by a shape or sprite in order to change its color.

4.

What does this block do and how do we use it?

4 lines
5.

What does this block do and how do we use it?

4 lines
6.

Tell me what this block does for us in code.org.

4 lines
7.

It is important for the sprite to have the small name and be spelled correctly when using it throughout your code.

a)

True

b)

False

8.

Scale block zooms in the sprite or shape

rotation block spins the sprite or shape

a)

True

b)

False

9.

What does this block do in code.org?

(a)  

10.

This blocks allows us to

a)

Change the location of text

b)

Change the zoom of text

c)

Change the size of text

d)

Change the scale of text

11.

What will this block help you do in Code.org?

a)

Change

b)

Color development

c)

Change the color of the background

d)

background movement

12.

In the draw loop, if you call the text function before the drawSprites and/or background function, what happens?

a)

You won't be able to see your text because the sprites and background will be drawn on top of the text.

b)

You will be able to see your text because Game Lab knows you want to see the text.

c)

You won't be able to see your sprites or background because order doesn't matter.

d)

You will be able to see your text because the sprites and the background will be drawn after the text.

13.

What happens if you don't call background in your draw loop and your sprite has movement?

a)

nothing, animation is fine.

b)

the sprites are drawn on top of each other to simulate movement, the older drawings don't get erased.

c)

you don't need to call background because you don't have one.

d)

you can just use sprite.move( ) so there's no need for the function background( )

14.

This plane looks like someone is smearing a stamp across a paper.


How would you fix this code so that it looks likes the plane is smoothly moving across the scene? (Click on image to enlarge.)

a)

(line 8) increase the speed of the plane in the draw loop.

b)

(line 7) add plane.rotation into the draw loop

c)

(line 4) add a drawSprites

d)

(line 3) move the background code into the draw loop so that it makes a new background each loop

15.

What is the name of the sprite variable in the code pictured? (Click on picture to enlarge.)

a)

fly

b)

ladybug

c)

bug

d)

space

16.

The code in the image is an example of

a)

an IF Statement

b)

a DrawLoop

c)

the counter pattern

d)

reducing the size of a sprite

17.

The block of code in this image

a)

Creates a sprite

b)

transforms a sprite from a gray square into a picture of a mouse

c)

changes the size of a sprite

d)

changes the x position of a sprite

18.

What is the NAME and starting Y LOCATION of this sprite?

a)

dog, 150

b)

dog, 350

c)

fido, 150

d)

fido, 350

19.

What is the name of the ANIMATION (not the sprite) used in this block of code?

a)

dog

b)

fido

c)

sprite

d)

150

20.

Which line of code creates a sprite?

a)

Line 1

b)

Line 2

c)

Line 8

d)

Line 9

21.

Which line of code creates a sprite?

a)

Line 1

b)

Line 2

c)

Line 8

d)

Line 9

22.

What code should I add if I want to have my Blue Fish swim to the left side of the screen?

a)
b)
c)
d)
23.

Will the Jet move up or down?

a)

Up

b)

Down

24.

Will the plane move to the right or to the left?

a)

right

b)

left

25.
Which of the following is the correct syntax to create a ellipse in Javascript?
a)
ellipse(100, 100);
b)
circle(100, 100);
c)
ell(100, 100);
d)
circle<100, 100>
26.
Which of the following is the correct syntax to fill a shape with color in Javascript?
a)
fill("red");
b)
color: red;
c)
colorFill(red);
d)
myColor: red;
27.
Which of the following creates a rectangle with the X-Coordinate at 60?
a)
rect(60, 100);
b)
rect(100, 60);
c)
ellipse(60, 100)
d)
circle (100, 60)
28.
Which of the following creates an ellipse with the Y-Coordinate at 100?
a)
ellipse(60, 100);
b)
ell(100, 60);
c)
rect(60, 100)
d)
square (100, 60)
29.
Which of the following rectangles has a width of 50 and height 100?
a)
ellipse(100, 100, 100, 50);
b)
rectangle(100, 50);
c)
rect(100, 100, 50, 100);
d)
ellipse(50, 100);
30.
Which of the following ellipses has a width of 250 and height 100?
a)
ellipse(100, 100, 250, 100);
b)
circle(250, 50);
c)
rect(100, 100, 250, 100);
d)
ellipse(50, 100);
31.
Which of the following Random Number functions would return a value between 1 and 10?
a)
randomNumber(10);
b)
randomNumber(1, 10);
c)
randomNumber(1-10);
d)
random(10);
32.
Which of the following values can be returned by the code: randomNumber (0, 10)?
a)
-1
b)
3
c)
11
d)
10.5
33.
What does the sprite animation look like?
a)
Move your sprite to the left
b)
Rotate your sprite clock wise
c)
Move your sprite to the right
d)
Make your sprite grow
34.
What does the sprite animation look like?
a)
Move your sprite up
b)
Rotate your sprite clock wise
c)
Move your sprite to the right
d)
Move your sprite down
35.
What does the sprite animation look like?
a)
Move your sprite up
b)
Rotate your sprite clock wise
c)
Make your sprite grow
d)
Move your sprite down