Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Codemonkey :)

Total questions: 21

Worksheet time: 16mins

Name
Class
Date
1.

What is computer programming?

a)

Giving instructions to a computer

b)

Input to a computer

c)

Actions taken in a program

d)

Syntax scene rules

2.

Which of the following is a function?

a)

Turtle

b)

45

c)

TurnTo

d)

Right

3.

What is an object in Codemonkey?

a)

Action in a program

b)

Anything we interact with in a scene

c)

Rules for a language

d)

Element that expresses action

4.

Which of the following is a correct statement?

a)

Right Step

b)

Step.TurnTo

c)

Turn 90

d)

Turtle.Walk

5.

What is Syntax?

a)

Element that expresses action

b)

Input added to a function

c)

Anything we interact with in a scene

d)

Rules for how a language is written

6.

What is a Simple Loop?

a)

A loop

b)

A nested loop dependent on first line

c)

A loop that repeats till done

d)

A sequence of instructions that repeats a specified number of times

7.

Which of the following is the correct way to write a loop?

a)

3.time->

b)

3.times ->

c)

3 times

d)

3.times loop

8.

What is a Variable

a)

A storage unit of data used when needed

b)

Name of code

c)

A simple loop

d)

A return value

9.

What does debugging mean?

a)

Exterminating bugs

b)

Running an algorithm

c)

Fixing code that has an error

d)

Programming a new coding language

10.

What is an array?

a)

A group of objects that share a common name

b)

An individual object

c)

An object interacted with in a scene

d)

Name of an identifier in a variable

11.

What is an element?

a)

Name of variable

b)

Anything we interact with in a scene

c)

An individual object in the array

d)

A simple loop

12.

What does psuedo-code mean?

a)

Coding languages such as Java and Python

b)

Real code

c)

Not real code, but instructions that any coder can understand

d)

Syntax

13.

What is iteration?

a)

When the code repeats an action for every element of a collection

b)

A step by step set of operations to be performed

c)

Rules for the language

d)

An element that expresses action to be carried out

14.

What is a Nested Loop?

a)

A loop inside a loop

b)

A sequence of instructions that repeats

c)

A repeat of instructions

d)

A loop that repeats 3 times

15.

Look at the following statement.

step 10

What is the function in the statement?

a)

monkey

b)

step

c)

10

16.

Look at the code below. Which of the items is a value?

d = 20

step d

turn right

a)

d

b)

20

c)

step

d)

right

17.

What coding language have we been using to solve codemonkey levels?

a)

Python

b)

HTML

c)

Java

d)

Coffeescript

18.

What is an algorithm?

a)

Lines of code

b)

Fixing a problem with the code

c)

Monkey

d)

Iteration

19.

What does it mean to define a function?

a)

Dialing the phone number provided by the specific code.

b)

Looking up the name of a function in a dictionary.

c)

Using it in our code for the computer to execute, specifically in the main code.

d)

Writing the set of statements that tell the computer what to do when it is called.

20.

What is the # symbol used for in coding?

a)

To make a hashtag

b)

To write comments that don't interfere with the code

c)

To define a function

d)

To make the monkey dance

21.

What is a function?

a)

A set of instructions that performs a specific task.

b)

A set of elements in an array.

c)

A set of objects and their targets in CodeMonkey.

d)

A set of keyboard shortcuts to use in CoffeeScript.