Log in
Sign up for FREE
arrow_back
Library
Coding Quiz
By Michael Elting
star
star
star
star
star
Share
share
Last updated almost 8 years ago
5 questions
Add this activity
1
1
1
1
1
Question 1
1.
What is a declaration?
Stating something.
Something that happened a long long time ago
July 4th, 1776
Creating something that wasn't there before.
Question 2
2.
You only need the drawSprites(); command in your code once.
True
False
Question 3
3.
Which line of code attaches your sprite to its picture?
var sprite = createSprite(200, 200);
sprite.setAnimation("filename");
drawSprites();
draw = function() {}
Question 4
4.
What is the name of the following spite?
var dino = createSprite(200, 200);
dino.setAnimation("coolDino");
drawSprites();
sprite
dino
coolDino
all of the above
Question 5
5.
What does a draw function do?
Draws your sprites.
Animates things.
Repeats lines of code 30 times per second.
None of the above