🔒 CONFIDENTIAL — TEACHER USE ONLY 🔒
👩‍🏫
Secret Galactic Code Academy

Year 3 Teacher Solution Book

Complete Answer Key with Worked Examples

Syntax World — Planet Guide & Learning Paths

Teacher Name:  

School:  

Academic Year:  

© 2026 InfiniCoreCipher — FutureTechEducation
Canon Authority: Katarzyna Kalina vel Kalinowska | v3.0 MASTER CANON LOCKED
Companion to: Year 3 Workbook v1.1 | COPPA & GDPR Compliant

👩‍🏫 SGCA Year 3 Teacher Solution Book — CONFIDENTIALHow to Use
🔒 CONFIDENTIAL — TEACHER USE ONLY — DO NOT DISTRIBUTE TO STUDENTS 🔒

📋 How to Use This Solution Book

This book provides complete worked answers for every activity in the Year 3 Student Workbook. Use it to mark student work, plan lessons, and identify common misconceptions.

✅ Answer Format

Each mission shows:
• Correct answers in green boxes
• Model code solutions
• Expected output
• Teaching notes
• Common mistakes to watch for

📝 Marking Guidance

• Accept reasonable variations
• Award partial credit where shown
• Focus on understanding, not exact wording
• Creative activities: mark for logic, not style
• Code: mark for correct output, not exact syntax

🗺️ Solution Book Structure

ZoneMissionsKey ConceptsPages
🌿 Sequence Valley1-3Sequences, Algorithms, Flowcharts5-15
🌱 Variables Garden4-8VAR FLOW Steps 1-4, Variable types33-37
🌲 Loops Forest9-12FOR/WHILE loops, Infinite loops38-44
🏜️ Condition Canyon13-15IF-ELSE, Boolean logic, AND/OR/NOT46-53
🏙️ Functions City16-18Functions, Parameters, Return values54-57
🏆 Final Quest19-20All concepts combined60-66
© 2026 InfiniCoreCipher | Canon Authority: Katarzyna Kalina vel Kalinowska | CONFIDENTIALHow to Use | Page i
👩‍🏫 SGCA Year 3 Teacher Solutions — CONFIDENTIALZone 1: Sequence Valley
🔒 CONFIDENTIAL — TEACHER USE ONLY
🌿
Zone 1: Sequence Valley — Solutions
Missions 1-3 | Theory Book Pages 5-15
2

What is a Sequence? — SOLUTIONS

CONCEPT | 100 XP | Pages 9-11

💡 CONCEPT
Activity 2.1 — Order the Steps (Making Tea)
Correct OrderAction
2Add milk or sugar
1Boil the water
3Pour hot water into the cup
4Add the tea bag
5Remove the tea bag
📝 Teaching Note

Accept milk before or after tea bag — this is a genuine debate! Use it as a discussion point about how sequences can have valid variations.

Activity 2.2 — Write Your Own Sequence

Model answer (accept any logical 5-step sequence):

StepModel Answer
1Wake up and get out of bed
2Wash face and brush teeth
3Get dressed in school uniform
4Eat breakfast
5Pack school bag and leave
⚠️ Common Mistakes

• Steps in illogical order (eating before getting dressed) — discuss why order matters
• Steps too vague ("get ready") — encourage specificity
• Missing essential steps

Activity 2.3 — Chip's Coding Challenge

Grid: [C][ ][ ][ ][⭐] — Chip needs 4 MOVE commands then COLLECT:

Correct commands:

#Command
1MOVE
2MOVE
3MOVE
4MOVE
5COLLECT

Did Chip reach the star?

✅ Yes

📝 Note

The grid has 4 empty spaces between Chip and the star, so exactly 4 MOVE commands are needed.

Activity 2.5 — Star Challenge: Robot Algorithm

Model answer (minimum 8 steps, accept any logical sequence):

1. Enter the room 2. Look around the room 3. Pick up the first toy from the floor 4. Walk to the toy box 5. Place the toy in the toy box 6. Pick up the first book from the floor 7. Walk to the bookshelf 8. Place the book on the shelf 9. Pick up the vacuum cleaner 10. Vacuum the floor systematically 11. Put the vacuum cleaner away
📊 Marking Criteria

✅ Minimum 8 steps | ✅ Logical order | ✅ Specific enough for a robot | ✅ No ambiguous instructions

3

Algorithms in Action — SOLUTIONS

CONCEPT | 110 XP | Pages 12-15

💡 CONCEPT
Activity 3.1 — Sequence vs Algorithm
DescriptionAnswerWhy?
"Make a sandwich"SToo vague — not precise enough
"Get 2 slices of bread. Spread 5g of butter..."APrecise and exact — robot could follow
"Go to school"SToo vague — no specific steps
"Walk to bus stop. Wait for bus 42..."APrecise and exact — robot could follow
Activity 3.3 — Test the Algorithm (Orange Juice)

Q1: What happens if step 3 before step 2?

✅ The orange juice would pour onto a closed carton and spill everywhere! You must open the carton before pouring.

Q2: What is missing?

✅ The algorithm doesn't check if the glass is clean first. A robot might use a dirty glass!

Q3: Improved algorithm:

1. Get a clean glass 2. Check the glass is clean 3. Open the orange juice carton 4. Pour orange juice into the glass (fill to 3/4) 5. Put the carton away in the fridge 6. Drink the juice
© 2026 InfiniCoreCipher | CONFIDENTIAL — Teacher Use OnlyZone 1: Sequence Valley Solutions | Page 1
👩‍🏫 SGCA Year 3 Teacher Solutions — CONFIDENTIALZone 2: Variables Garden
🔒 CONFIDENTIAL — TEACHER USE ONLY
🌱
Zone 2: Variables Garden — Solutions
Missions 4-8 | Theory Book Pages 33-37
4

VAR FLOW Step 1: STORE — SOLUTIONS

CONCEPT | 100 XP | Page 33

💡 CONCEPT
Activity 4.1 — Variable Boxes

player_name = "Nova"

Label: player_name

Value: "Nova"

lives = 3

Label: lives

Value: 3

has_key = True

Label: has_key

Value: True

Activity 4.2 — Create Your Own Variables (Model)
my_name = "Alex" # Text — must be in quotes my_age = 8 # Number — no quotes my_year_group = 3 # Number — no quotes my_favourite_colour = "purple" # Text i_like_coding = True # Boolean — capital T!
⚠️ Common Mistakes

• Writing "42" — this is TEXT, not a number!
• Writing true (lowercase) — Python requires True with capital T
• Forgetting quotes around text values

5

VAR FLOW Step 2: CHANGE — SOLUTIONS

LOGIC | 120 XP | Page 34

🔮 LOGIC
Activity 5.1 — Trace the Variable
CodeScore value ✅
score = 00
score = score + 1010
score = score + 515
score = score - 312
score = score * 224

Final value: 24

📝 Teaching Note

Work through this step by step on the board. Many students try to do it all in their head and make errors. Emphasise writing down each intermediate value.

Activity 5.2 — Story Variables
EventChangeLives ✅
Start10
Falls in a hole-37
Finds a health pack+29
Hit by enemy-18
Bonus level completed+513
Final boss fight-49

Final lives: 9

6

VAR FLOW Step 3: CHANGE → PRINT — SOLUTIONS

CODING | 130 XP | Page 35

💻 CODING
Activity 6.1 — Add the Print

1. name = "Explorer"

name = "Explorer" print(name)
Explorer

2. score = 50 + 25

score = 50 score = score + 25 print(score)
75
Activity 6.2 — Predict the Output
player = "Nova" xp = 100 xp = xp + 50 print("Player:", player) print("XP:", xp)
Player: Nova
XP: 150
level = 1 level = level + 1 level = level + 1 print("Current level:", level)
Current level: 3
8

Variables Garden Summary — SOLUTIONS

LOGIC | 120 XP | Page 37

🔮 LOGIC
Activity 8.2 — Error Hunt (5 Errors)
Buggy CodeErrorFixed Code
player name = "Alex"Space in variable nameplayer_name = "Alex"
score = "100"Number stored as textscore = 100
score = score + 50Now works (after fix 2)score = score + 50 ✅
print scoreMissing bracketsprint(score)
lives = lives - 10Should subtract 1, not 10lives = lives - 1
© 2026 InfiniCoreCipher | CONFIDENTIAL — Teacher Use OnlyZone 2: Variables Garden Solutions | Page 2
👩‍🏫 SGCA Year 3 Teacher Solutions — CONFIDENTIALZone 3: Loops Forest
🔒 CONFIDENTIAL — TEACHER USE ONLY
🌲
Zone 3: Loops Forest — Solutions
Missions 9-12 | Theory Book Pages 38-44
10

Types of Loops — SOLUTIONS

CODING | 150 XP | Pages 39-40

💻 CODING
Activity 10.1 — FOR Loop Practice

1. Print "I love coding!" 3 times:

for i in range(3): print("I love coding!")
I love coding!
I love coding!
I love coding!

2. Print numbers 0 to 4:

for i in range(5): print(i)
0
1
2
3
4
📝 Teaching Note

range(5) gives 0,1,2,3,4 — NOT 1,2,3,4,5. Use range(1,6) for 1-5. This is a very common source of confusion!

Activity 10.3 — Trace the Loop
for i in range(4): print("Star", i)
Loop runValue of iWhat prints ✅
1st0Star 0
2nd1Star 1
3rd2Star 2
4th3Star 3
Activity 10.4 — FOR or WHILE?
TaskAnswer ✅Why?
Print "Hello" exactly 7 timesFORWe know exactly how many times
Keep asking for password until correctWHILEWe don't know how many attempts
Count from 1 to 100FORWe know exactly how many times
Keep playing until player runs out of livesWHILEWe don't know when lives run out
12

Loops Step 4: EXIT — SOLUTIONS

DEBUG | 140 XP | Page 44

🐛 DEBUG
Activity 12.1 — Infinite Loop Spotter
LoopInfinite?Why?
count = 0, while count < 10, count += 1❌ Nocount increases each time, eventually reaches 10
count = 0, while count < 10, no change✅ Yescount never changes, condition always True
while True: print("Hello")✅ YesTrue can never become False
Activity 12.2 — Fix the Infinite Loop

Loop 1 — Fixed:

count = 10 while count > 0: print(count) count = count - 1 # ← Fix

Loop 2 — Fixed:

score = 0 while score < 100: print("Score:", score) score = score + 10 # ← Fix
© 2026 InfiniCoreCipher | CONFIDENTIAL — Teacher Use OnlyZone 3: Loops Forest Solutions | Page 3
👩‍🏫 SGCA Year 3 Teacher Solutions — CONFIDENTIALZones 4 & 5
🔒 CONFIDENTIAL — TEACHER USE ONLY
🏜️
Zone 4: Condition Canyon — Solutions
Missions 13-15 | Pages 46-53
14

Boolean Logic — SOLUTIONS

LOGIC | 130 XP | Page 47

🔮 LOGIC
Activity 14.1 — True or False? (Full Answers)
ExpressionAnswer ✅
5 > 3True
10 == 9False
"cat" != "dog"True
7 >= 7True
4 < 2False
ExpressionAnswer ✅
100 == 100True
"Nova" == "nova"False ⚠️
3 + 4 == 7True
10 != 10False
5 <= 6True
📝 Teaching Note — Case Sensitivity

"Nova" == "nova" is False because Python is case-sensitive. This is a very common source of bugs! Discuss with students why computers treat uppercase and lowercase differently.

Activity 14.2 — Truth Table
ABA AND B ✅A OR B ✅NOT A ✅
TrueTrueTrueTrueFalse
TrueFalseFalseTrueFalse
FalseTrueFalseTrueTrue
FalseFalseFalseFalseTrue
15

Condition Canyon Learning Path — SOLUTIONS

CODING | 160 XP | Pages 50-53

💻 CODING
Activity 15.2 — Grade Calculator (Complete Solution)
if score >= 90: print("Grade: A ⭐") elif score >= 80: print("Grade: B 🌟") elif score >= 70: print("Grade: C 👍") elif score >= 60: print("Grade: D 📚") else: print("Grade: F — Keep trying! 💪")

Boundaries: A: 90+ | B: 80-89 | C: 70-79 | D: 60-69 | F: <60

🏙️
Zone 5: Functions City — Solutions
Missions 16-18 | Pages 54-57
17

Parameters — SOLUTIONS

CODING | 150 XP | Page 56

💻 CODING
Activity 17.1 — Add a Parameter
def greet(name): print("Hello,", name, "!") greet("Alex") greet("Nova") greet("Chip")
Hello, Alex !
Hello, Nova !
Hello, Chip !
Activity 17.2 — Two Parameters
def add(a, b): result = a + b print(a, "+", b, "=", result) add(5, 3) add(10, 7) add(100, 200)
5 + 3 = 8
10 + 7 = 17
100 + 200 = 300
18

Return Values — SOLUTIONS

CODING | 140 XP | Page 57

💻 CODING
Activity 18.3 — Trace CALL → RUN → RETURN
StageWhat happens ✅
CALLmultiply(4, 5) is called
RUNa = 4, b = 5
RUNresult = 4 × 5 = 20
RETURNReturns 20
Afteranswer = 20
PrintPrints 20
© 2026 InfiniCoreCipher | CONFIDENTIAL — Teacher Use OnlyZones 4 & 5 Solutions | Page 4
👩‍🏫 SGCA Year 3 Teacher Solutions — CONFIDENTIALFinal Quest Solutions
🔒 CONFIDENTIAL — TEACHER USE ONLY
🏆
FINAL QUEST — Complete Solutions
Mission 20 | 500 XP | All 5 Parts
P1

Part 1 — Sequence Challenge

⭐ 100 XP
Correct Order
Order ✅Action
1Print "Game Start!"
2Create variable score = 0
3Add 100 to score
4Print "Level 1 complete!"
5Add 150 to score
6Print "Level 2 complete!"
7Add 75 to score
8Check if score > 200
9If score > 200, print "Champion!"
10Print the final score
📊 Marking: 1 mark per correct position | Full marks: 10/10
P2

Part 2 — Variable Vault

All 5 Errors Found and Fixed
Buggy CodeErrorFixed Code ✅
player name = "Explorer"Space in nameplayer_name = "Explorer"
score = "0"Number as textscore = 0
lives = lives + 10Should subtract 1lives = lives - 1
has_key = "True"Boolean as texthas_key = True
level = level - 1Should add 1level = level + 1

Corrected values: player_name="Explorer" | score=0 | lives=2 | has_key=True | level=1

P3

Part 3 — Loop Repair

Fixed Code
power = 100 while power > 0: print("Power:", power) power = power - 10 # ← This line fixes the infinite loop
Power: 100
Power: 90
Power: 80
Power: 70
Power: 60
Power: 50
Power: 40
Power: 30
Power: 20
Power: 10
P4

Part 4 — Condition Gates

Model Solution
access_level = 2 if access_level == 3: print("Admin access — all areas open!") elif access_level == 2: print("Teacher access — classroom areas open!") elif access_level == 1: print("Student access — learning areas open!") else: print("No access — please contact your teacher!")
Teacher access — classroom areas open!
📝 Marking Note

Accept any reasonable messages for each branch. Mark for correct IF-ELIF-ELSE structure and correct conditions (==3, ==2, ==1).

P5

Part 5 — Function Factory

Complete Model Solution
# Function 1: Greet the Explorer def greet_explorer(name): print("Welcome, Explorer", name + "!") print("The Academy needs your help!") # Function 2: Calculate rescue score def calculate_rescue_score(missions_complete, bonus): total = missions_complete * 100 + bonus return total # Function 3: Display the result def display_result(name, score): print("Explorer:", name) print("Rescue Score:", score) if score >= 400: print("🏆 SYNTAX WORLD SAVED!") else: print("Keep trying, Explorer!") # Call all 3 functions: greet_explorer("Alex") my_score = calculate_rescue_score(4, 50) display_result("Alex", my_score)
Welcome, Explorer Alex!
The Academy needs your help!
Explorer: Alex
Rescue Score: 450
🏆 SYNTAX WORLD SAVED!
📊 Final Quest Mark Scheme (100 marks total)
PartFull Marks CriteriaMarks
Part 1: SequenceAll 10 steps in correct order (1 mark each)10
Part 2: VariablesEach error found (1) + fixed (1) = 2 marks each10
Part 3: LoopIdentifies issue (1) + correct fix (1)2
Part 4: ConditionsEach correct branch (2 marks each × 4)8
Part 5: FunctionsEach working function (5) + called correctly (5)10
© 2026 InfiniCoreCipher | CONFIDENTIAL — Teacher Use OnlyFinal Quest Solutions | Page 5
👩‍🏫 SGCA Year 3 Teacher Solutions — CONFIDENTIALCommon Mistakes Reference
🔒 CONFIDENTIAL — TEACHER USE ONLY

⚠️ Common Mistakes Quick Reference

MistakeZoneHow to Address
player name = "Alex" (space in name)Variables"Variable names are one word — use underscore: player_name"
score = "100" (number as text)Variables"Numbers don't need quotes. score = 100 not score = "100""
print score (missing brackets)Variables"print is a function — it needs brackets: print(score)"
range(10) gives 0-9 not 1-10Loops"range(10) gives 0,1,2...9. Use range(1,11) for 1-10"
Infinite loop (no exit condition)Loops"Every WHILE loop needs something that changes to make it stop"
"Nova" == "nova" is FalseConditions"Python is case-sensitive! Capital letters matter"
Missing colon after if/defAll"Python needs a colon : after if, elif, else, def, for, while"
Indentation errorsAll"Python uses spaces to show what's inside a block — be consistent!"
return outside functionFunctions"return only works inside a function definition"
Calling function before defining itFunctions"Define the function first (def), then call it"
true instead of TrueVariables"Python Boolean values start with capital: True, False"
Forgetting return in functionFunctions"Without return, the function gives back None — add return!"

📊 Assessment Quick Reference

LevelDescriptionGame EvidenceWorkbook Evidence
1 — BeginningIdentifies concepts with support1 star, many hintsPartially completed, needs prompting
2 — DevelopingApplies with some support2 stars, 1-2 hintsMost activities completed, some errors
3 — SecureApplies independently2-3 stars, 0-1 hintsAll core activities correct
4 — MasteredExplains and extends3 stars, 0 hints, portfolioStar challenges completed
© 2026 InfiniCoreCipher — FutureTechEducation | Canon Authority: Katarzyna Kalina vel Kalinowska | CONFIDENTIAL🔒 v3.0 MASTER CANON LOCKED | Year 3 Teacher Solution Book v1.1