Worksheets7th Grade: Unit 3 Code.org Lesson 11 & 12 + review of all
Total questions: 35
Worksheet time: 18mins
The X and Y part of these blocks help us.....
place any shape or sprite in a specific area on the screen.
change how big or small the shape or sprite is
move the shapes
create a new plot
The W and H part of these blocks help us.....
place any shape or sprite in a specific area on the screen.
change how wide or tall the shape or sprite is
move the shapes
create a new plot
How do we use this block in code.org?
We have to place this block by a shape or sprite in order to change its size.
We use this to change all colors
We have to put this block at the end of the code
We have to place this block by a shape or sprite in order to change its color.
What does this block do and how do we use it?
What does this block do and how do we use it?
Tell me what this block does for us in code.org.
It is important for the sprite to have the small name and be spelled correctly when using it throughout your code.
True
False
Scale block zooms in the sprite or shape
rotation block spins the sprite or shape
True
False
What does this block do in code.org?
(a)
This blocks allows us to
Change the location of text
Change the zoom of text
Change the size of text
Change the scale of text
What will this block help you do in Code.org?
Change
Color development
Change the color of the background
background movement
In the draw loop, if you call the text function before the drawSprites and/or background function, what happens?
You won't be able to see your text because the sprites and background will be drawn on top of the text.
You will be able to see your text because Game Lab knows you want to see the text.
You won't be able to see your sprites or background because order doesn't matter.
You will be able to see your text because the sprites and the background will be drawn after the text.
What happens if you don't call background in your draw loop and your sprite has movement?
nothing, animation is fine.
the sprites are drawn on top of each other to simulate movement, the older drawings don't get erased.
you don't need to call background because you don't have one.
you can just use sprite.move( ) so there's no need for the function background( )
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.)
(line 8) increase the speed of the plane in the draw loop.
(line 7) add plane.rotation into the draw loop
(line 4) add a drawSprites
(line 3) move the background code into the draw loop so that it makes a new background each loop
What is the name of the sprite variable in the code pictured? (Click on picture to enlarge.)
fly
ladybug
bug
space
The code in the image is an example of
an IF Statement
a DrawLoop
the counter pattern
reducing the size of a sprite
The block of code in this image
Creates a sprite
transforms a sprite from a gray square into a picture of a mouse
changes the size of a sprite
changes the x position of a sprite
What is the NAME and starting Y LOCATION of this sprite?
dog, 150
dog, 350
fido, 150
fido, 350
What is the name of the ANIMATION (not the sprite) used in this block of code?
dog
fido
sprite
150
Which line of code creates a sprite?
Line 1
Line 2
Line 8
Line 9
Which line of code creates a sprite?
Line 1
Line 2
Line 8
Line 9
What code should I add if I want to have my Blue Fish swim to the left side of the screen?
Will the Jet move up or down?
Up
Down
Will the plane move to the right or to the left?
right
left
