GRADE 8 · COMPUTING · UNIT 1 · LESSON 1.53
Computational thinking and programming
Project 1: Adventure story
Read a little. Try the workbook. Check your answers. Choose one section below to get started.
LET’S TRACE, REASON AND TEST
Project 1: Adventure story
Original companion preparation, project or review
Plan an interactive story as a finite set of choices, branches and endings. Define accepted inputs and invalid-input behaviour. Test every path in the stated design instead of testing only your favourite ending.
- Plan a finite set of story paths and clear input choices.
- Decompose the story into implementable parts.

Work through an example
A small museum story might offer Map or Guide, with one ending for each and a clear retry message for any other response. A branch table makes those three behaviours explicit.
Try before your workbook
Which cases should a test plan include for that two-choice story?
Explore the clues
Tap one card to find out more.
Understand the idea
Plan an interactive story as a finite set of choices, branches and endings. Define accepted inputs and invalid-input behaviour. Test every path in the stated design instead of testing only your favourite ending.
Concept to practise: Project 1: Adventure story.
Work through an example
A small museum story might offer Map or Guide, with one ending for each and a clear retry message for any other response. A branch table makes those three behaviours explicit.
Try before your workbook
Which cases should a test plan include for that two-choice story?
Check my readiness thinking
Include Map, Guide and an unrecognised response. Also test any explicitly accepted alternate spelling; do not claim unstated forms are supported.
Your original programs and learning models
These original PaxaKids program and data models support your workbook. Some examples deliberately contain faults to investigate. Follow their headings and preserve exact code case, punctuation and order. Traces and supplied records are not claims of physical testing.
Create an adventure with meaningful choices
Use this original model to plan your own finite adventure. Decide its inputs and endings before programming, then test every supported path.
Read the complete supported-path plan

Read this model’s labels and values
Specify exactly what the reader can enter
| Stage | First option | Second option |
|---|---|---|
| Route | 1 or gallery | 2 or archive |
| In gallery | 1 or stars | 2 or maps |
| In archive | 1 or boxes | 2 or desk |
Read the complete original story program
Original Paxa museum adventure
print("The museum sky atlas is missing.")
route = input("Route: 1/gallery or 2/archive? ").strip().lower()
if route in ("1", "gallery"):
print("Maya and Paxa enter the gallery.")
choice = input("Gallery: 1/stars or 2/maps? ").strip().lower()
if choice in ("1", "stars"):
print("STARS: A star chart reveals the missing atlas.")
elif choice in ("2", "maps"):
print("MAPS: A map drawer holds the missing atlas.")
else:
print("That gallery choice is not available.")
elif route in ("2", "archive"):
print("Maya and Paxa enter the archive.")
choice = input("Archive: 1/boxes or 2/desk? ").strip().lower()
if choice in ("1", "boxes"):
print("BOXES: A labelled box holds the missing atlas.")
elif choice in ("2", "desk"):
print("DESK: Ms Noura returns the atlas from her desk.")
else:
print("That archive choice is not available.")
else:
print("That route is not available.")
print("Story finished.")Trace every supported ending
| Route input | Next input | Ending label |
|---|---|---|
| 1 | 1 | {'clue': 'Ending label', 'prompt': 'Story path 1 then 1', 'answers': ['STARS']} |
| gallery | 2 | {'clue': 'Ending label', 'prompt': 'Story path gallery then 2', 'answers': ['MAPS']} |
| 2 | boxes | {'clue': 'Ending label', 'prompt': 'Story path 2 then boxes', 'answers': ['BOXES']} |
| archive | desk | {'clue': 'Ending label', 'prompt': 'Story path archive then desk', 'answers': ['DESK']} |
Check normalisation and invalid-input behaviour
| Inputs in a fresh run | Prediction |
|---|---|
| padded GALLERY, then MAPS | {'clue': 'Ending or message', 'prompt': 'Input-policy case padded GALLERY, then MAPS', 'answers': ['MAPS']} |
| garden at route stage | {'clue': 'Ending or message', 'prompt': 'Input-policy case garden at route stage', 'answers': ['That route is not available.']} |
| gallery, then desk | {'clue': 'Ending or message', 'prompt': 'Input-policy case gallery, then desk', 'answers': ['That gallery choice is not available.']} |
| archive, then stars | {'clue': 'Ending or message', 'prompt': 'Input-policy case archive, then stars', 'answers': ['That archive choice is not available.']} |
Decompose the story into implementable parts

Read this model’s labels and values
- Root
- Finite museum adventure
- Children
- Route choice
- Gallery section
- Archive section
- Finish / test
Keep a plan, source versions and evidence
Work with a partner if available or individually. Explain your own contribution and preserve any actual feedback and resulting revision.
Files for this activity
Use these original PaxaKids practice files with the matching workbook. Work on a local copy in the appropriate editor. Some examples deliberately contain faults to investigate; a downloaded file is not a completed practical test.

Try one step with Paxa!
Trace code in the stated order and preserve exact spelling and case. Use fictional data. Label a prediction, paper trace, simulator run and physical-device test separately; an unperformed test stays Pending. Save personal responses before leaving.
Our Unit 1 learning path
- Lesson 1.1: Recall algorithms and representations
- Lesson 1.2: Purpose and conventions of pseudocode
- Lesson 1.3: Input, output and strings
- Lesson 1.4: Identifiers and assignment
- Lesson 1.5: Arithmetic and translation
- Lesson 1.6: Trace and review a sequence
- Lesson 1.7: Conditions and two-way flow
- Lesson 1.8: IF THEN and indentation
- Lesson 1.9: IF THEN ELSE and decision diagrams
- Lesson 1.10: Ordered ELSEIF and fallback ELSE
- Lesson 1.11: Match flowchart and pseudocode branches
- Lesson 1.12: AND, OR and NOT
- Lesson 1.13: Grouping, precedence and review
- Lesson 1.14: Why software searches
- Lesson 1.15: A successful linear search
- Lesson 1.16: An unsuccessful search and termination
- Lesson 1.17: Practise and communicate the search
- Lesson 1.18: Translate conditions into Python
- Lesson 1.19: One-branch IF programs
- Lesson 1.20: Two-way IF ELSE programs
- Lesson 1.21: Ordered ELIF choices
- Lesson 1.22: Ranges and independent decisions
- Lesson 1.23: Boolean operators in Python
- Lesson 1.24: Design and test recommendations
- Lesson 1.25: Trace, debug and reflect
- Lesson 1.26: Choose data types and recognise Boolean literals
- Lesson 1.27: Set and use Boolean flags
- Lesson 1.28: Explain and identify constants
- Lesson 1.29: Express constants in three algorithm forms
- Lesson 1.30: Use a fixed factor in a calculation
- Lesson 1.31: Cast to Boolean and validate an empty response
- Lesson 1.32: Recall calls and trace return values
- Lesson 1.33: Supply parameters and reuse library code
- Lesson 1.34: Choose and import libraries responsibly
- Lesson 1.35: Round with floor and ceiling
- Lesson 1.36: Use pi and investigate another mathematical feature
- Lesson 1.37: Generate random choices within bounds
- Lesson 1.38: Investigate random real values and review library use
- Lesson 1.39: Retrieve test tables and predict selection outcomes
- Lesson 1.40: Decompose everyday problems
- Lesson 1.41: Decompose programs and organise shared work
- Lesson 1.42: Develop through repeated build/test cycles
- Lesson 1.43: Predict and verify algorithm outcomes
- Lesson 1.44: Choose representative and boundary tests
- Lesson 1.45: Build, execute and review a test plan
- Lesson 1.46: Recall physical inputs and compare transmission media
- Lesson 1.47: Configure a radio group and agree a message scheme
- Lesson 1.48: Send and receive numbers and strings
- Lesson 1.49: Trace numeric message sequences
- Lesson 1.50: Transmit text and use received data in conditions
- Lesson 1.51: Diagnose and extend a message protocol
- Lesson 1.52: Review communication and evidence of testing
- Lesson 1.53: Project 1: Adventure story
- Lesson 1.54: Project 2: Fire, Water, Earth
- Lesson 1.55: Check your progress 1
For grown-ups: using this lesson
Your answers are checked in your browser. Open responses need grown-up review and are shown separately from the automatic score. Check your work, then use “Retry answers to practise” to revisit mistakes while keeping correct responses.
Read one explanation, discuss the model and try the readiness check before the workbook. Choose “Mark lesson finished” when ready. Optional account progress saves lesson position and completion across devices; save personal responses before leaving.
2. Fill in your workbook
Read the teaching and complete workbook instructions. Choose, write or draw; Answer list offers larger controls. Trace code precisely and distinguish predictions from actual tests. Review designs, explanations and drawings with a grown-up.
Opening your PDF…
Swipe sideways across the worksheet on a small screen, or use “Answer list” for larger controls.
You’ve completed the checked activities.
TAKE YOUR PRACTICE OFFLINE
3. Download the student worksheet
All 10 original A4 student pages, ready for pencil-and-paper practice. Choose Review Answers to check your work on this webpage.
Student worksheet only · PDF · 8.5 MiB · No answer key included
TRY FIRST, THEN CHECK TOGETHER
Download the student worksheet →4. Answers & guidance
Finished your try? Open the guide and compare one worksheet at a time. Your own words may be different and still explain the right idea.
Shown on this webpage only. There is no answer-key download, and this guide is left out when printing the page.
Show answers for all 10 worksheets
Worksheet 1
- Question 1: What should a branching-story plan show? each choice and where it leads
Worksheet 2
- Question 2: How many supported story endings are shown? 4
Worksheet 3
- Question 3: At the route stage, which word is an alias for 2? archive
- Question 4: After choosing gallery, which word is an alias for 2? maps
Worksheet 4
This page introduces the activity. There are no marked responses on this sheet.
Worksheet 5
- Question 5: Story path 1 then 1 STARS
- Question 6: Story path gallery then 2 MAPS
- Question 7: Story path 2 then boxes BOXES
- Question 8: Story path archive then desk DESK
- Question 9: Which cases are needed to cover every supported ending? all four path combinations
Worksheet 6
- Question 10: Input-policy case padded GALLERY, then MAPS MAPS
- Question 11: Input-policy case garden at route stage That route is not available.
- Question 12: Input-policy case gallery, then desk That gallery choice is not available.
- Question 13: Input-policy case archive, then stars That archive choice is not available.
Worksheet 7
- Question 14: What must separate story sections agree before integration? their inputs and where control continues
- Question 15: What should happen after a changed story section is integrated? retest affected paths and earlier working behaviour
Worksheet 8
- Question 16: Which evidence supports a claim that a path was tested? its saved source, input and actual observed output
Worksheet 9
- Question 17: Create a finite adventure-story plan with a clear topic, opening section, at least two choices at each planned decision, all paths and endings. Specify exact reader inputs and where each choice leads. Decompose it into parts that can be programmed separately, with agreed interfaces and a shared-work or individual plan. Include a test plan giving input sequences and expected actions/endings for every choice, plus relevant invalid-input cases. Use an original diagram or table and cite the complete attached design here. Clear original finite story design, every decision at least two meaningful choices, all routes and endings connected with exact unambiguous input meanings. Complete path/decision map and decomposition into implementable parts with names/inputs/integration; real contribution/roles or individual route. Each supported choice and ending has a planned input sequence and expected output, with appropriate invalid-input policy/cases. Supplied museum model may be adapted if changes and own decisions are explicit. Optional number/word aliases specified consistently and tested if adopted. Design is separate from actual execution evidence; no invented shared work. Grown-up review; personal evidence is required.
Worksheet 10
- Question 18: Program your planned story, or adapt the complete page 4 model while explaining your changes. Save a complete final program and earlier working versions. Execute every planned choice and ending, record actual inputs/outputs or Pending, and investigate mismatches with corrections and retests. Include invalid-input checks. For the optional extension, accept agreed one-word aliases as well as numbers and test both. Keep the completed test plan, source and actual contribution/feedback or Pending. Explain the evidence, one limit and your next step. Complete working-source artifact matching the planned story and exact input policy, clear sequence/selection/indentation and finite endings. Full final source, earlier meaningful versions, planned input sequences/expected output and actual results or Pending covering every supported choice and ending plus invalid cases. Corrections/retests and earlier-path checks after changes retained; actual source execution distinguished from paper trace. Alias extension if used accepts each number/word pair consistently, explicit whitespace/case policy tested without claiming every conceivable input. Own contribution, actual feedback or Pending, honest limit and useful next step. No invented learner/partner testing or GUI completion. Grown-up review; personal evidence is required.
Curriculum & workbook reference
- Cambridge Lower Secondary Computing Learner’s Book 8 — pages 191–193
- PaxaKids Grade 8 Computing Lesson 1.53: Project 1: Adventure story — pages 1–10
Computing for your homeschool day
Explore Project 1: Adventure story with this free Grade 8 Computing lesson. Read one idea together, try the fillable workbook and return to review at your own pace. Download the same student worksheet PDF for pencil-and-paper practice.
Fit learning around your family’s day. There is no timer and no sign-up is needed to use the lesson. An optional account saves your lesson position and completion across devices. Workbook responses and drawings stay in this tab; save a copy of your responses before leaving.
Understand your results
Closed answers are checked in your browser. Drawings and written explanations need grown-up review and are shown separately from the automatic score. Check your work, then use “Retry answers to practise” to revisit mistakes while keeping correct responses.
Choose Review Answers after trying the activity. The guide stays on the webpage; the worksheet download contains only the student pages.
For programme background, visit the Cambridge Lower Secondary Computing overview. PaxaKids provides independent original companion practice.
Book page references identify the related teaching topic. File-management and responsible-data preparation are original PaxaKids material; orientation or contents pages are not presented as teaching citations for those skills. The explanations, characters, programs and exercises here are original PaxaKids companion practice. Practical tasks require the appropriate editor and, where applicable, suitable equipment. A design or paper trace is not a verified hardware result. Only completed, reviewed lessons are listed.
Explore the Cambridge Lower Secondary Computing curriculum for programme background. PaxaKids is an independent learning resource.
