Font size
WorksheetsCodemonkey Revision 1
Total questions: 25
Worksheet time: 26mins
What function do we use to move left or right?
step
turn
turnTo
goto
Fill in the blank (…..) the correct answer.
d = 5
step d
turn (a)
d = d + 5
step d
Which are functions used to help the rat collect matches?
grab(), drop
grab, drop
grab(), drop()
grab, drop()
Which of the following is a correct function?
Step
turnTo
DistanceTo
Goto
What is the compressed function of turnTo + distanceTo?
cometo
go to
goto
come to
What is like a storage unit: we store data in it, and we use it only when
we need it.
A variable
A unit
A statement
A argument
What is a sequence of instructions that repeats a specified number of times?
For loop
If then statement
forever loop
simple loop
What is goto called?
a variable
a function
a set
a statement
What is correct solution for this challenge?
What is x called?
a statement
a function
a variable
a loop
Write the correct codes to get bananas.
Write the correct codes to get bananas.
Read carefully with the program and fill in the blank with suitable answer.
(a)
The function “step -10” will make the monkey
Turn around
step forward
step backward
step distanceTo
This code will not beat the level. Why?
Monkey is stepping too far
"step" should be "walk"
Monkey will turn the wrong direction
Monkey is not stepping far enough
What will happen when I run this code?
The turtle will step 10
The monkey will step 10
The monkey will step -10
step x is not a valid command, you can only step a number
turn, step, and turnTo are all examples of:
functions
variables
objects
characters
How to define a function in statement 02?
functionname = (r)>
functionName = (a) ->
functionName = (r) ->
functionname = (a) >
Write the name of function that is used in line 14?
(a)
Which statement is filled in the question mark in line 7?
(a)
I want the turtle to turn toward the island and then step 22. What code belongs in the blank (line 2) that will help me do that?
moveTo
turnToward
face
turnTo
Line 2 and 3 need to be in a loop that runs 9 times. How can I write a loop in line 1?
times.9 ->
9.times ->
9.loop ->
9 times >
What will be the missing code in line 6?
TurnTo banana
turtle. step d
step -14
d = 6
Which of the following functions measure the distance between monkey and banana?
step
turnTo
distanceTo
walk
Please select the suitable answer for the scenario in line 6.
if
then
else
if then
