wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Coronation Quiz 01/11/2023

Total questions: 34

Worksheet time: 21mins

Name
Class
Date
1.

What is CodeMonkey?

a)

A type of monkey that loves to code

b)

An online platform for learning coding through games

c)

A famous computer scientist

d)

A programming language

2.

What does "coding" mean?

a)

Creating secret messages

b)

Drawing pictures

c)

Solving math problems

d)

Writing instructions for a computer to follow

3.

Which of the following is not a programming language?

a)

Python

b)

Java

c)

BananaScript

d)

HTML

4.

What is an algorithm in coding?

a)

A step-by-step set of instructions for solving a specific problem

b)

A type of computer virus

c)

A computer's memory

d)

A type of computer hardware

5.

Which of the following is a programming concept used to make decisions in code?

a)

Loop

b)

Variable

c)

Condition

d)

Function

6.

In coding, what is a "bug"?

a)

A type of insect that loves computers

b)

An error or mistake in the code

c)

A small computer program

d)

A feature in coding languages

7.

What does HTML stand for?

a)

Hyper Transfer Text Markup Language

b)

High-Tech Multimedia Language

c)

Hyper Text Makeup Language

d)

Hyperlink and Text Manipulation Language

8.

What is a "function" in coding?

a)

A type of computer game

b)

A reusable block of code that performs a specific task

c)

A type of coding error

d)

A type of computer virus

9.

Which of the following is NOT a concept related to coding?

a)

Debugging

b)

Encryption

c)

Photosynthesis

d)

Algorithm

10.

The action of doing something over and over and over and over and over and over and over and over and over and... oh yeah, over again.

a)

Loop

b)

Repeating

c)

Stepping

d)

Array

11.

What is the code required to get the monkey to the banana?

a)

turtle.turnTo monkey

turtle.step 18

turtle.turnTo banana

turtle.step 18

b)

turtle.turn right

turtle.step 17

turtle.step -18

c)

turtle.turnTo banana

turtle.step -18

turtle.turnTo banana

turtle.step -18

d)

turtle.turn left

turtle.step 18

turtle.turnTo banana

turtle.step 18

12.

What is the code required to get the monkey to both bananas?

a)

Step forward 10, step backward 10

b)

Step 10, step -20

c)

step 10, step -10

d)

goto bananas

13.

What is the code required to get the monkey to the bananas?

a)

turtle.turn 90

turtle.step 15

turtle.turnTo island

turtle.step 28

b)

turtle.turnTo island

turtle.step 15

turtle.step 28

c)

turtle.turnTo island

turtle.step 28

d)

turtle.step 15

turtle.turnTo island

turtle.step 28

14.

What is a variable in coding?

a)

A variable is a loop in coding.

b)

A variable is a function in coding.

c)

A variable is a mathematical equation in coding.

d)

A variable is a named storage location that holds a value.

15.

What is an if statement used for in coding?

a)

An if statement is used for error handling in coding.

b)

An if statement is used for input/output operations in coding.

c)

An if statement is used for conditional execution in coding.

d)

An if statement is used for looping in coding.

16.

What is the purpose of comments in coding?

a)

Comments in coding are used to make the code more visually appealing.

b)

Comments in coding are used to hide code that is not needed.

c)

The purpose of comments in coding is to provide additional information and explanations about the code.

d)

Comments in coding are used to slow down the execution of the code.

17.

Fill in the blank (…..) the correct answer.

  d = 5

step d

turn (a)  

d = d + 5

step d

18.

Which are functions used to help the rat collect matches?

a)

grab(), drop

b)

grab, drop

c)

grab(), drop()

d)

grab, drop()

19.

What is the compressed function of turnTo + distanceTo?

a)

cometo

b)

go to

c)

goto

d)

come to

20.

What is goto called?

a)

a variable

b)

a function

c)

a set

d)

a statement

21.

What is correct solution for this challenge?

a)
b)
c)
22.

What is x called?

a)

a statement

b)

a function

c)

a variable

d)

a loop

23.

The function “step -10” will make the monkey

a)

Turn around

b)

step forward

c)

step backward

d)

step distanceTo

24.

This code will not beat the level. Why?

a)

Monkey is stepping too far

b)

"step" should be "walk"

c)

Monkey will turn the wrong direction

d)

Monkey is not stepping far enough

25.

How to define a function in statement 02?

a)

functionname = (r)>

b)

functionName = (a) ->

c)

functionName = (r) ->

d)

functionname = (a) >

26.

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?

a)

moveTo

b)

turnToward

c)

face

d)

turnTo

27.

Line 2 and 3 need to be in a loop that runs 9 times. How can I write a loop in line 1?

a)

times.9 ->

b)

9.times ->

c)

9.loop ->

d)

9 times >

28.

What will be the missing code in line 6?

a)

TurnTo banana

b)

turtle. step d

c)

step -14

d)

d = 6

29.

What is the goal of every level in CodeMonkey?

a)

Create an algorithm with conditionals

b)

Get the monkey to collect all the bananas

c)

Move the banana toward the monkey

d)

Move the turtle

30.

What is indexing in coding?

a)

Process of accessing random elements using their position or index number.

b)

Process of sorting elements in ascending order.

c)

Process of deleting specific elements from a list.

d)

Process of accessing specific elements using their position or index number

31.

TRUE OR FALSE: The monkey can walk on water.

a)

TRUE

b)

FALSE

32.

I want to use a variable x in this program. What line needs to go on line 1 to declare and initialize the variable x?

a)

let x = 20;

b)

var x = 20;

c)

x = 20

d)

int x = 20;

33.

What will happen when I run this code?

a)

The turtle will step 10

b)

The monkey will step 10

c)

The monkey will step -10

d)

step x is not a valid command, you can only step a number

34.

Which of the following functions measure the distance between monkey and banana?

a)

step

b)

turnTo

c)

distanceTo

d)

walk