Coding Quiz
starstarstarstarstarstarstarstarstarstar
by Michael Elting
| 5 Questions
1
1 pt
What is a declaration?
Stating something.
Something that happened a long long time ago
July 4th, 1776
Creating something that wasn't there before.
2
1 pt
You only need the drawSprites(); command in your code once.
True
False
3
1 pt
Which line of code attaches your sprite to its picture?
var sprite = createSprite(200, 200);
sprite.setAnimation("filename");
drawSprites();
draw = function() {}

4
1 pt
What is the name of the following spite?

var dino = createSprite(200, 200);
dino.setAnimation("coolDino");
drawSprites();
sprite
dino
coolDino
all of the above
5
1 pt
What does a draw function do?
Draws your sprites.
Animates things.
Repeats lines of code 30 times per second.
None of the above
Add to my formatives list

Formative uses cookies to allow us to better understand how the site is used. By continuing to use this site, you consent to the Terms of Service and Privacy Policy.