NEW
Font size
WorksheetsBlockly Coding
Total questions: 9
Worksheet time: 5mins
How many lines of drawSprites should any program contain?
One for every sprite
one before the draw loop and one after
One above the draw loop
one at the bottom of the draw loop
What comes first in the draw loop?
background
drawSprites
counter pattern
variables
Where should variables be created? (var)
last
first
inside the draw loop
after the draw loop
boy.x = boy.x + 5
Is an example of a ......
random number
variable
counter pattern
draw loop
witch.y = witch.x - 3
What action would this line of code create?
The sprite will move up.
The sprite will move left.
The sprite will move diagonally.
The sprite will not move at all.
What is this?
Control Statement
Counter Statement
Create Statement
Conditional Statement
sprite.y == sprite.x
What does the sign mean?
equals
greater than
less than
gets the value of
sprite1.x > sprite2.x
Which of the option would make the console log print true?
sprite1.x is 100
sprite2.x is 100
sprite1.x is 200
sprite2.x is 100
sprite1.x is 100
sprite2.x is 200
sprite1.x is 100
sprite2.y is 100
Define: Boolean Expression
A question that can be answered either:
True OR False.
A question that can only be answered:
True.
A question that can only be answered:
False.
A question that can only be answered with a number.
