NEW
Font size
WorksheetsCoding Adventure
Total questions: 10
Worksheet time: 5mins
A piece of code that does specific task.
Array
Function
Loop
Code
"Defining a function" means
using a function
playing with function
creating a function
giving the meaning of function
All the following are examples of function with argument EXCEPT
step 10
turn left
grab()
turnTo banana
The process for finding and fixing errors in a program is called______
correcting
debugging
checking
fixing
Type of loop that is used to run a set of instructions repeatedly until a condition becomes true.
For loop
while loop
Nested loop
until loop
The statement that makes the computer execute statements based on a certain conditions.
loop statement
conditional statement
coding statement
None of the above
The next two code for the diagram given is:
turnTo pile
step distanceTo pile
turnTo match
step distanceTo match
turnTo pile
drop()
grab()
A group of objects is called
variable
function
conditional
array
In coding adventure, what happens if the banana is green?
Monkey eats the banana
Monkey hits the banana
Goat eats the banana
Goat ignores the banana
In coding adventure, What happens if the banana is frozen?
Monkey hits the banana
Monkey eats the banana
Goat eats the banana
Goat hits the banana
