wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Coding Escape Room

Total questions: 4

Worksheet time: 8mins

Name
Class
Date
1.

Cue: You discover a hidden block labeled: The note beside it reads:
“I group actions together into a single reusable command.
Call my name, and I’ll perform all my steps at once.”

To continue, identify what this reusable section of code is called.

Question: What is the name for a group of instructions that can be reused and called by name in a program?

a)

Prototype

b)

Conditional

c)

Stage

d)

Function

2.

Cue: Suddenly, the program crashes!
A warning message flashes:
“Error: variable not defined.”

You scan the code, but one wrong block caused chaos!
The system whispers:
“To find the truth, you must fix what’s broken.”

Your task: identify the process of finding and correcting mistakes in code.

Question: What do programmers call the process of finding and fixing errors in code?

a)

Variable

b)

Debugging

c)

System

d)

Sprite,

3.

Cue: You reach the security terminal. The screen flashes:
“Enter password to continue.”
You realize the program is waiting for your response.

The message reads:
“I am data sent into a program, a key, a click, or a typed word.
Without me, nothing begins.”

What am I?

Question: In coding, what is the term for data or a signal sent into a program (like typing, clicking, or sensor data)?

a)

Output

b)

Script

c)

Broadcast

d)

Input

4.

Cue: The screen begins to flash the same message over and over again:

You try to stop it, but the code keeps repeating!
A note appears across the display: “I never stop unless told.
I repeat actions endlessly or for a set number of times.
Understand me, and you’ll break the cycle.”

The computer awaits your answer…

Question: In coding, what is the structure that repeats a set of instructions multiple times until a condition is met?

a)

Loop

b)

Function

c)

Costume

d)

Parallel Execution