Font size
Worksheets7th Grade: Code.org Unit 3: Lessons 7, 8, 9
Total questions: 28
Worksheet time: 14mins
If you wanted to make a sprite twice as big as it currently looks which code would you use?
sprite.y
sprite.scale
sprite.rotation
sprite.setAnimattion
What does this code affect?
It affects the sprite's up and down motion
It affects the sprite's right and left motion
It affects the sprite's appearance (on a tilt, upside down, etc.)
It affects the sprite's size
What does this code affect?
It affects the appearance the sprite (on a tilt, upside down, etc.)
It affects the size of the sprite
It affects how far up or down the sprite moves
It affects how far right or left the sprite moves
Look and the code above. Mark the Sprites that will be drawn when the code is run.
Cactus
Grass1
Grass2
Ladybug
Snail
The draw sprites tool does need to be inside the draw function for it to move
True
False
Match the code below with the image.
A character on the screen with properties that describe its location, movement, and look.
Variable
Property
Random
Sprite
How can we correct the code above? We are getting the error message (dessert is defined, but it is not called in your program)
Change drink to dessert in the 6th line of code
Change drink to ice cream in the 6th line of code
Change drink to sprite in the 6th in of code
How can we correct the code in the image? We are getting the error message (dessert is defined, but it is not called in your program)
Change drink to dessert in the 6th line of code
Change drink to ice cream in the 6th line of code
Change drink to sprite in the 6th line of code
What will this block of code do?
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
My code is not working! I want my code to look like the image on the left, but it looks like the image on the right. Which code should I use?
I want my alien to appear in the top left corner. What do I need to change in my code?
Change bottomRightSprite.setAnimation to bottomLeftSprite
Change bottomRightSprite.setAnimation to topLeftSprite
Change bottomRightSprite.setAnimation to topRightSprite
If “spriteOne” is “animation_1”, what would be the correct animation for “spriteTwo” to show up?
animtaion_1_Copy_1
animation_2
animation_1
Why is my spirite animation not appearing?
drawSprites needs to be in between the lines of code
drawSprites needs to be on the bottom of the codes
drawSprite needs to be at the bottom and drink.setAnimation should say "dessert.setAnimation"
There is nothing wrong
Why will this not make the creature tinted green?
it will turn the creature green
it needs quotation marks after the word green
it needs parenthese around the word green
it needs quotation marks around the word green
Setting the scale of the fly sprite to 2 will do what?
double its size
triple its size
make it 1/2 it's size
Where on the grid where this bee appear?
bottom left
top left
bottom right
top right
When using the sprite scale code, if your scale value number is less than one it will make the sprite bigger.
True
False
When using the sprite rotation code, if your scale value number is a negative number it will rotate the sprite to the left.
True
False
If I scaled the elephant 0.5 would the elephant be smaller or bigger than it is now?
Smaller
Bigger
What are the three parameters within the text code?
your text, x, y
x, y, your text
your text, y, x
Where will the text in the code appear on the grid?
Top right
Top left
Bottom Right
Bottom Left
Why will this text not show up?
There are no quotation marks around the text that will be displayed.
There are spaces in the text and you can not have spaces.
There are capital letters and you can not have capital letters.
there is an exclamation mark and you can not have punctuation marks.
I want the text “rainbows” to be red, but it's not working. What is wrong with my code?
All of the text codes need to be above the drawSprite block
the fill("Red") block needs to be above the text("Rainbow") block
fill("Red") needs to be at the very top
I want my text to be white and I want a white background, but white text on a white background will make the text impossible to read. What can we do so that the text has a border color and can be read?
add a stroke border around the text
change the text size
change the fill color
I want to make my text larger. What block can I use.
Textsize(__);
textSize(0;
textSize(__);
