wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Coding Adventure

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

A piece of code that does specific task.

a)

Array

b)

Function

c)

Loop

d)

Code

2.

"Defining a function" means

a)

using a function

b)

playing with function

c)

creating a function

d)

giving the meaning of function

3.

All the following are examples of function with argument EXCEPT

a)

step 10

b)

turn left

c)

grab()

d)

turnTo banana

4.

The process for finding and fixing errors in a program is called______

a)

correcting

b)

debugging

c)

checking

d)

fixing

5.

Type of loop that is used to run a set of instructions repeatedly until a condition becomes true.

a)

For loop

b)

while loop

c)

Nested loop

d)

until loop

6.

The statement that makes the computer execute statements based on a certain conditions.

a)

loop statement

b)

conditional statement

c)

coding statement

d)

None of the above

7.

The next two code for the diagram given is:

a)

turnTo pile

step distanceTo pile

b)

turnTo match

step distanceTo match

c)

turnTo pile

drop()

d)

grab()

8.

A group of objects is called

a)

variable

b)

function

c)

conditional

d)

array

9.

In coding adventure, what happens if the banana is green?

a)

Monkey eats the banana

b)

Monkey hits the banana

c)

Goat eats the banana

d)

Goat ignores the banana

10.

In coding adventure, What happens if the banana is frozen?

a)

Monkey hits the banana

b)

Monkey eats the banana

c)

Goat eats the banana

d)

Goat hits the banana