Want to create interactive content? It’s easy in Genially!

Get started free

Sub program adventure

Eden Goddard

Created on November 13, 2024

Start designing with a free template

Discover more than 1500 professional designs like these:

Math Mission

Secret Code

Earth Day Escape Room

Reboot Protocol

Corporate Escape Room: Operation Christmas

Witchcraft Escape Room

Video Game Breakout

Transcript

sub programs

AVENTURe

START

CHARACTERS

MISSION

Introduction

CHOOSE YOUR DESTINATION

You can go in any order but make sure you record where you find any secret numbers

Destination 01

Destination 03

Destination 04

Destination 05

Destination 02

Destination 1

Welcome to the icy north.Here, cold is not the only challenge.

START

QUESTION 1

Which is the best description of a sub program?

A reusable chunk of code within a program
A type of loop that repeats a block of code
A type of data structure

QUESTION 2

Name the 2 types of sub programs.

Loops and Iterations
Functions and Procedures
Arrays and records

QUESTION 3

What is a parameter?

A variable that stores a constant value.
A named variable that receives a value into a sub program
A value passed into a sub program

QUESTION 4

What does the last line of a function always start with?

print
Return
return

CONGRATULATIONS

The 1st number is:

71

Back to map

WELCOME TO Destination 2

Samba, jungle, and mysteries! Brazilawaits you with tropical challenges.

START

QUESTION 1

What is the name of the sub program shown above?

def calc_area (p_width, p_length)
def calc_area
calc_area

QUESTION 2

Name a parameter in this sub program

p_width
calc_area
area

QUESTION 03

Is this sub-program a function or a procedure?

Function
Procedure
Trick question!It's both

QUESTION 04

On which line is the calc_area sub program called?

15
10

CONGRATULATIONS

The 2nd number is:

114

Back to map

WELCOME TO Destination 03

Ah, the south west of the USA. Perfect for a road trip but there are challenges here too

START

QUESTION 1

Name a local variable in this code

p_width
calc_area
height

QUESTION 2

What will be displayed when this code is run?

1012
1210
12

QUESTION 3

Name a global variable in this program.

p_score
score
calc_score

QUESTION 4

Is the sub program in this code a function or a procedure?

Trick question!It's neither
Function
Procedure

CONGRATULATIONS

The 3rd number is:

101

Back to map

WELCOME TO Destination 04

Deserts and pyramids, oh yes! Butwatch out for quicksand.

START

QUESTION 1

What is missing from inside the brackets on line 1? Shown by --------

width, length
p_width, p_length
p_length, p_width

QUESTION 2

What is missing from line 3?

Trick question!Nothing is missing
print perimeter
return perimeter

QUESTION 3

What will display when this code is run?

Rectangle perimeter: 30
Rectangle perimeter: 60
perimeter is not defined

QUESTION 4

What is missing from line 9?

print("Correct")
True
len

CONGRATULATIONS

The 4th number is:

97

Back to map

WELCOME TO Destination 05

Temples and tigers awaitin this land of wonders.

START

QUESTION 1

What is an argument?

A value passed to a function when it is called.
A keyword used to define a function.
A variable declared within a sub program.

QUESTION 2

Name an argument in this code?

p_radius
radius
calc_volume

QUESTION 3

Name an in-built sub program used by this code?

final_volume
return
input

QUESTION 4

In this code, why is PI on line 11 in capital letters?

It's a library module
It's a variable
It's a constant

CONGRATULATIONS

The 5th number is:

116

Back to map

OH NO!CRASHED AND BURNED!

TRY AGAIN

This adventure is not over yet. What is the secret code 🔑?

Enter the numbers in mission order, no s

Enter the word....

Your mission, should you choose to accept it, is to solve riddles and challenges in exotic destinations to find the Treasure of Wisdom. Yes, you heard it right! Let's go for it!

Cunning and dangerous, she's always onestep ahead. Don't underestimateher cleverness.

Fearless archaeologist, always ready for an adventure. Her whip and hat are as iconic asher bravery.

A pilot with a heart of gold and a compass that always pointsto adventure.

Historian and photographer, always has an interesting fact that couldsave the day.

CaptainRivera
Morgana the Treasure Hunter
Cameraman Colin
IndianaJane

Cunning and dangerous, she's always onestep ahead. Don't underestimateher cleverness.

Fearless archaeologist, always ready for an adventure. Her whip and hat are as iconic asher bravery.

A pilot with a heart of gold and a compass that always pointsto adventure.

Historian and mentor, always has an interesting fact that couldsave the day.

CaptainRivera
Morgana the Treasure Hunter
TeacherArchibald
IndianaJane
Welcome, adventurers! 🌍 Buckle up for an epic journeyin search of lost treasures and forgotten knowledge.Shall we go on the "Breakout Adventure"?
Your mission is to answer the questions in exotic destinations to find the Numbers of Wisdom, enter them into the safe and then crack the final code!Let's get cracking!
Welcome, adventurers! 🌍 Buckle up for a journey around the world in search of the lost numbers and forgotten knowledge.