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.

6 fillable worksheet pagesRead at your own pace

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.

Today’s two goals
  • 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.
Original PaxaKids illustration for Flowcharts and algorithms. Precise program text and data are supplied in the workbook models.
An original PaxaKids workbook scene. Use the supplied programs and data for precise workbook facts.

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

Our goal: represent input, processing and output in a flowchart; trace an addition algorithm; create and test a mean-of-two program.

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

  1. Start
  2. INPUT first, second
  3. total = first + second
  4. OUTPUT total
  5. Stop

Match the plan to Python

To calculate the mean of two numbers, add them first and divide their sum by 2. For inputs 6 and 10, the mean is 8.0 in Python. Inputs 9 and 14 give 11.5.
BasicAddition_PaxaOriginal.py
first = int(input("First: "))
second = int(input("Second: "))
total = first + second
print("Total:", total)

Test, review and improve

Use the program you wrote on page E. Predict the result for (6,10) and (9,14). Run both tests if possible. Ask a partner to trace your chart and compare it with the program. Record one correction or a specific reason why no change was needed. Label paper-only evidence as a trace.
Paxa the Fox

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
  1. Lesson 1.1: Comparing Scratch and Python
  2. Lesson 1.2: Using Python
  3. Lesson 1.3: Using Python IDLE in Script mode
  4. Lesson 1.4: Variables
  5. Lesson 1.5: Adding more information to a program
  6. Lesson 1.6: Data types – string, integer and real
  7. Lesson 1.7: Casting
  8. Lesson 1.8: Flowcharts and algorithms
  9. Lesson 1.9: BIDMAS in Python
  10. Lesson 1.10: Error detection and correction
  11. Lesson 1.11: Making choices IF THEN ELSE in flowcharts
  12. Lesson 1.12: Sub-routines
  13. Lesson 1.13: Random questions and a star number
  14. Lesson 1.14: Final project
  15. Lesson 1.15: Evaluation
  16. 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.

Flowcharts and algorithms6 student pages · original artwork

Opening your PDF…

Swipe sideways across the worksheet on a small screen, or use “Answer list” for larger controls.

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

Download worksheet PDF ↓

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

  1. Question 1: What is an algorithm? ordered instructions for solving a problem
  2. Question 2: What should a flowchart arrow show? the direction in which instructions are followed

Worksheet 2

  1. Question 3: Which labelled shape should contain “OUTPUT total”? B / b
  2. Question 4: Which labelled shape should contain “total = first + second”? C / c
  3. Question 5: Which shape marks where execution begins and ends? A

Worksheet 3

  1. Question 6: For first 9 and second 14, what total is output? 23
  2. Question 7: For first 8 and second 17, what total is output? 25
  3. Question 8: For first 32 and second 9, what total is output? 41

Worksheet 4

  1. Question 9: Which formula groups the sum before dividing? (first + second) / 2
  2. Question 10: Which extra step changes addition into a mean calculation? divide the sum by 2
  3. Question 11: What should a peer compare? the flowchart, code and test results

Worksheet 5

  1. 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

  1. 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.
Back to my workbook ↑

Curriculum & workbook reference

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.