GRADE 7 · COMPUTING · UNIT 1 · LESSON 1.8
Block it out: Moving from blocks to text
Flowcharts and algorithms
Read a little. Try the workbook. Check your answers. Choose one section below to get started.
LET’S TRACE, REASON AND TEST
Flowcharts and algorithms
An algorithm is an ordered plan for solving a problem. A flowchart represents that plan with symbols and arrows. Start/stop marks the ends, input/output handles data exchange, and a process box performs work such as a calculation. Trace each step before translating it into code.
- Represent input, processing, output and start/stop in a correctly ordered flowchart.
- Trace an addition algorithm for given inputs and compare the prediction with a Python program.

Explore the clues
Tap one card to find out more.
Understand the idea
An algorithm is an ordered plan for solving a problem. A flowchart represents that plan with symbols and arrows. Start/stop marks the ends, input/output handles data exchange, and a process box performs work such as a calculation. Trace each step before translating it into code.
Concept to practise: Flowcharts and algorithms.
Work through an example
To find the mean of 8 and 14, input both values, process (8 + 14) / 2, then output 11. The addition must be grouped before division; placing only one value inside the calculation would change the intended algorithm.
Try before your workbook
Plan the steps for finding the total of 7 and 9. Which step belongs in a process box and what is the final output?
Check my readiness thinking
Input the two numbers, calculate total = 7 + 9 in a process box, output 16, then stop. The output box displays the result; it does not replace the calculation.
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 before you code
An algorithm gives ordered instructions for solving a problem. A flowchart represents those instructions using shapes and arrows. A clear plan helps you see what data is needed and what happens to it.
Choose meaningful symbols
The complete labelled flow legend diagram is provided in the original workbook. Use its exact labels when answering the workbook questions.
Trace an addition algorithm
- Start
- INPUT first, second
- total = first + second
- OUTPUT total
- Stop
Match the plan to Python
BasicAddition_PaxaOriginal.py
first = int(input("First: "))
second = int(input("Second: "))
total = first + second
print("Total:", total)Test, review and improve

Try one step with Paxa!
Trace code carefully and preserve exact spelling, case and order. Use invented practice data. Save personal responses before leaving.
Our Unit 1 learning path
- Lesson 1.1: Comparing Scratch and Python
- Lesson 1.2: Using Python
- Lesson 1.3: Using Python IDLE in Script mode
- Lesson 1.4: Variables
- Lesson 1.5: Adding more information to a program
- Lesson 1.6: Data types – string, integer and real
- Lesson 1.7: Casting
- Lesson 1.8: Flowcharts and algorithms
- Lesson 1.9: BIDMAS in Python
- Lesson 1.10: Error detection and correction
- Lesson 1.11: Making choices IF THEN ELSE in flowcharts
- Lesson 1.12: Sub-routines
- Lesson 1.13: Random questions and a star number
- Lesson 1.14: Final project
- Lesson 1.15: Evaluation
- Lesson 1.16: What can you do?
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 the 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 · 8.0 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 an algorithm? ordered instructions for solving a problem
- Question 2: What should a flowchart arrow show? the direction in which instructions are followed
Worksheet 2
- Question 3: Which labelled shape should contain “OUTPUT total”? B / b
- Question 4: Which labelled shape should contain “total = first + second”? C / c
- Question 5: Which shape marks where execution begins and ends? A
Worksheet 3
- Question 6: For first 9 and second 14, what total is output? 23
- Question 7: For first 8 and second 17, what total is output? 25
- Question 8: For first 32 and second 9, what total is output? 41
Worksheet 4
- Question 9: Which formula groups the sum before dividing? (first + second) / 2
- Question 10: Which extra step changes addition into a mean calculation? divide the sum by 2
- Question 11: What should a peer compare? the flowchart, code and test results
Worksheet 5
- Question 12: Draw a flowchart for the mean of two whole-number inputs. Beside it, write matching Python code. Include input, calculation, output and start/stop. Save your program as MeanTwo_Paxa.py. Accept a connected correctly directed flowchart with start, input of both values, mean=(first+second)/2 or equivalent separate sum/division processes, output mean and stop. Input/output use parallelograms, processing rectangles and start/stop terminators. Matching Python must collect both integers, group addition before division and print the mean. Equivalent variable names and matching single/double quotes allowed. No numeric score; check semantic agreement between chart and code. Grown-up review; personal evidence is required.
Worksheet 6
- Question 13: Record each input pair, expected result, actual result and pass/fail. Describe your partner’s feedback, any correction, and the result of retesting. Explain how the chart and code agree. Expected means are 8.0 for 6,10 and 11.5 for 9,14. A pass means actual output matches the expected numerical value and clear label; expected mathematical 8 and Python 8.0 are compatible if interpreted accurately. Look for prediction before execution, honest run/trace labels, concrete peer feedback and a recorded retest after any edit. Chart and code must both input two values, add them, divide the sum by 2 and display the mean. No invented report of software execution required. Grown-up review; personal evidence is required.
Curriculum & workbook reference
- Cambridge Lower Secondary Computing 7 Student’s Book — pages 26–27
- PaxaKids Grade 7 Computing Lesson 1.8: Flowcharts and algorithms — pages 1–6
Computing for your homeschool day
Explore Flowcharts and algorithms with this free Grade 7 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
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.
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.
The book pages identify the related teaching topic. 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.
