GRADE 8 · COMPUTING · UNIT 1 · LESSON 1.2
Computational thinking and programming
Purpose and conventions of pseudocode
Read a little. Try the workbook. Check your answers. Choose one section below to get started.
LET’S TRACE, REASON AND TEST
Purpose and conventions of pseudocode
Pseudocode describes an algorithm without committing to one executable programming language. Choose clear, consistent commands and distinguish receiving a value, assigning a result and displaying output.
- Explain why a plan is useful; recognise different readable notations, sequence and explicit string boundaries.
- Explain my method and support it with a labelled trace, example or test record.

Work through an example
A clear plan is INPUT count, then total ← count + 7, then OUTPUT total. For count 5, the assigned total is 12. The arrow describes assignment in this chosen convention; other unambiguous conventions exist.
Try before your workbook
Write the three stages for receiving a value, doubling it and displaying the doubled result.
Explore the clues
Tap one card to find out more.
Understand the idea
Pseudocode describes an algorithm without committing to one executable programming language. Choose clear, consistent commands and distinguish receiving a value, assigning a result and displaying output.
Concept to practise: Purpose and conventions of pseudocode.
Work through an example
A clear plan is INPUT count, then total ← count + 7, then OUTPUT total. For count 5, the assigned total is 12. The arrow describes assignment in this chosen convention; other unambiguous conventions exist.
Try before your workbook
Write the three stages for receiving a value, doubling it and displaying the doubled result.
Check my readiness thinking
For example: INPUT number; doubled ← number × 2; OUTPUT doubled. The same identifier must connect each stage, and the output refers to the calculated value.
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.
Plan the behaviour before writing program syntax
Use clear, consistent conventions. A particular course or assessment may specify a format, while other readable pseudocode styles also exist. A plan still needs enough detail to follow.
Compare two stated notation conventions
ORIGINAL PLAN A
INPUT visitor
OUTPUT "Welcome"
OUTPUT visitorORIGINAL PLAN B
READ visitor
DISPLAY "Welcome"
DISPLAY visitorKeep literal text separate from a stored value
ORIGINAL PLAN: NAME AND TEXT
visitor <- "Rin"
OUTPUT visitor
OUTPUT "visitor"Recognise useful structures and clear boundaries
| Structure | What it describes |
|---|---|
| Sequence | Actions performed in a stated order. |
| Selection | A condition determines which action or branch is followed. |
| Iteration | Actions are repeated according to a loop rule. |
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 6 original A4 student pages, ready for pencil-and-paper practice. Choose Review Answers to check your work on this webpage.
Student worksheet only · PDF · 7.9 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 6 worksheets
Worksheet 1
- Question 1: What is a useful purpose of pseudocode? agreeing and checking an algorithm before implementation
- Question 2: What should a reader be able to identify in a clear plan? the ordered actions and the data each action uses
Worksheet 2
- Question 3: If the input is Rin, how do the displayed results of A and B compare? both show Welcome, then Rin on the next line
- Question 4: Why define the notation before comparing the plans? to establish what each instruction means
Worksheet 3
- Question 5: What does OUTPUT visitor display in this plan? Rin
- Question 6: What does OUTPUT "visitor" display? visitor
- Question 7: Which statement about strings is accurate? a string may be empty; matching quotes mark its boundaries
Worksheet 4
- Question 8: Which structure describes the order of the three statements on page 3? sequence
- Question 9: Which is the clearest improvement to a vague plan saying only Make a message? state the input destination, exact text and ordered output steps
Worksheet 5
- Question 10: Design an original pseudocode plan for this brief: receive a fictional visitor label into a named destination; display the literal text Ready on one line; then display the received label on the next line. State your command, quotation and sequence conventions. Trace it using the label Sol. Explain why this plan helps communicate the algorithm before choosing a programming language, and why it is not automatically executable Python. Require a complete consistent plan: receive label into an identifier, output literal Ready then that identifier on a separate line. With Sol, the two output lines are Ready and Sol. Quotes distinguish literal text from the stored label; commands and destinations are unambiguous. Accept INPUT/READ or other defined equivalent wording and optional explicit start/stop, without insisting on a universal pseudocode syntax. Explain shared design/tracing before language-specific implementation; arbitrary pseudocode does not automatically run as Python. No numeric scoring. Grown-up review; personal evidence is required.
Worksheet 6
- Question 11: Rewrite your plan in a second clearly defined readable notation, preserving the same inputs and two output lines. Show both predicted output lines for Sol and explain what remained the same despite the changed command words. Identify one possible ambiguity in a plan, such as missing quotes, an unnamed input destination or an unclear order; show how to clarify it. Record a partner discussion only if it actually happened, or leave that step Pending. Second notation must be defined and semantically equivalent: same destination/input, literal Ready, then received Sol on a separate line. Require output order and boundaries, an explanation that command spelling may vary while the algorithm remains the same, and a concrete ambiguity with a correct clarification. Quoted identifier text differs from a variable reference; do not accept an unexplained reversal or dropped input. Optional partner evidence must be real or Pending; independent manual reasoning is valid. No program execution claim or numeric score. Grown-up review; personal evidence is required.
Curriculum & workbook reference
- Cambridge Lower Secondary Computing Learner’s Book 8 — pages 11–16
- PaxaKids Grade 8 Computing Lesson 1.2: Purpose and conventions of pseudocode — pages 1–6
Computing for your homeschool day
Explore Purpose and conventions of pseudocode 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.
