+15 SECONDS

❄️ ESCAPE THE ALGORITHM LAB  LEVEL 2

Computer Science Principles • Activity 1.1.1 • Mr. Babb

📚Sprint
🐢Trace
🔧Repair
📐Angles
🧠Trace II
🔥Boss
🔑Vault
00:00
+0s penalty
Mission briefing

You escaped once. The lab noticed.

Six locks this time, and they get harder every level. Each one you crack gives you one digit of a six-digit vault code.

New rule: every wrong answer costs you 15 seconds. Think first, then click.

Target: escape in under 10:00. Work with your partner — every teammate must be able to explain every lock.

Levels 1–2 are recall and tracing. Levels 4–6 will make you do real math and real reasoning.

Lock 1 of 6 — Vocabulary Sprint DIFFICULTY ●○○○○○ LEVEL 1

Five in a row

Answer all five. A wrong answer costs 15 seconds, and the question stays until you get it.

Lock 2 of 6 — Turtle Trace DIFFICULTY ●●○○○○ LEVEL 2

Where does it end, and which way is it facing?

The turtle starts at (0, 0) facing east (heading 0). No multiple choice this time — type the numbers.

painter.forward(50) painter.right(90) painter.forward(50) painter.left(90) painter.forward(50)
Lock 3 of 6 — Repair Bay DIFFICULTY ●●●○○○ LEVEL 3

This should draw an equilateral triangle. It doesn't.

Exactly one line is wrong. Click the guilty line, then choose what it should say.

Lock 4 of 6 — Angle Engine DIFFICULTY ●●●●○○ LEVEL 4

No shape to copy. Do the math.

A. You need a regular octagon (8 equal sides) with sides of 60 pixels, drawn by repeating forward then right.

B. A different regular shape closes perfectly using a turn of 40 degrees every time. How many sides does it have?

Lock 5 of 6 — Cold Storage DIFFICULTY ●●●●●○ LEVEL 5

Trace it line by line. Order is everything.

This is pseudocode. The arrow means "store the value on the right into the name on the left." DISPLAY prints a value.

a 5 b a + 3 a b - 2 b a + b DISPLAY(a) DISPLAY(b)
Lock 6 of 6 — The Boss Door DIFFICULTY ●●●●●● LEVEL 6

Everything at once

Turtle starts at (0, 0) facing east, pen down. Read carefully — the pen does not stay down.

painter.forward(80) painter.right(90) painter.penup() painter.forward(80) painter.pendown() painter.right(90) painter.forward(80) painter.right(90) painter.forward(80)

a) How many line segments actually get drawn on the screen?

b) Does the turtle end up where it started?

c) Is the picture on the screen a complete, closed square?

Final door

Enter the 6-digit vault code

Type the digits you earned, in lock order (1 → 6):