GRADE 7 · COMPUTING · UNIT 1 · LESSON 1.11
Block it out: Moving from blocks to text
Making choices IF THEN ELSE in flowcharts
Read a little. Try the workbook. Check your answers. Choose one section below to get started.
LET’S TRACE, REASON AND TEST
Making choices IF THEN ELSE in flowcharts
Selection chooses a path by testing a condition. A decision diamond has labelled true and false branches. Comparison operators matter: > excludes equality, while >= includes it. Follow the specified condition even when the values are equal; do not leave that case unplanned.
- Trace both outcomes of a condition represented by a decision symbol.
- Select an appropriate comparison operator for a stated decision.

Explore the clues
Tap one card to find out more.
Understand the idea
Selection chooses a path by testing a condition. A decision diamond has labelled true and false branches. Comparison operators matter: > excludes equality, while >= includes it. Follow the specified condition even when the values are equal; do not leave that case unplanned.
Concept to practise: Making choices IF THEN ELSE in flowcharts.
Work through an example
For tokens >= 12, values 12 and 15 take the true branch, while 11 takes the false branch. Replacing >= with > would change the result for exactly 12, so a boundary test is essential.
Try before your workbook
A decision is score > 50. Which branch is taken for 50 and for 51? Explain why equality must be tested.
Check my readiness thinking
50 takes the false branch and 51 takes the true branch. The > operator means strictly greater than, so the boundary value belongs to the false path.
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.
Choose a route using a condition
A condition has a True or False result. A decision diamond sends control along the matching labelled arrow. A two-branch selection follows one branch each time the decision is reached.
Match the comparison to the meaning
| Operator | Meaning | Example |
|---|---|---|
| == | equal to | 7 == 7 is True |
| != | not equal to | 7 != 4 is True |
| less than | 4 < 7 is True | |
| > | greater than | 7 > 4 is True |
| <= | less than or equal to | 7 <= 7 is True |
| >= | greater than or equal to | 7 >= 7 is True |
Trace an original selection chart
- Start
- Input tokens
Decision: tokens >= 12?
True branch
- Output Two tables
False branch
- Output One table
Read the three design briefs
| Brief | Condition | Required outputs |
|---|---|---|
| Square a number | square > 100 | True: Big; False: Small |
| Alphabet count | count == 26 | True: Correct; False: Incorrect |
| Two numbers | first > second | True: first + second; False: first - second |
Trace the two-number choice
| Case | first | second |
|---|---|---|
| A | 8 | 3 |
| B | 3 | 8 |
| C | 5 | 5 |
Make your chart checkable

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 9 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 9 worksheets
Worksheet 1
- Question 1: Which shape represents a condition in a flowchart? a diamond
- Question 2: What determines the branch followed? whether the condition is True or False
- Question 3: How many branches run in one ordinary IF/ELSE choice? one
Worksheet 2
- Question 4: Which comparison means “at least 12”? count >= 12
- Question 5: Which comparison tests “not equal to 26”? count != 26
- Question 6: Which comparison is False? 5 < 5
Worksheet 3
- Question 7: What is output when tokens is exactly 12? Two tables
Worksheet 4
This page introduces the activity. There are no marked responses on this sheet.
Worksheet 5
- Question 8: For number 9, what is its square? 81
- Question 9: For number 9, which message is required? Small
- Question 10: For number 10, which message is required? Small
- Question 11: For number 11, which message is required? Big
- Question 12: For alphabet count 26, which message is required? Correct
- Question 13: For alphabet count 25, which message is required? Incorrect
Worksheet 6
- Question 14: What result should case A output? 11 / 11.0
- Question 15: What result should case B output? -5 / -5.0
- Question 16: What result should case C output? 0 / 0.0
Worksheet 7
- Question 17: Which test best reveals whether > was wrongly changed to >=? a value exactly at the threshold
- Question 18: A chart has a decision but labels neither outgoing arrow. What should be added? True and False branch labels
- Question 19: What should a peer check include? trace both routes and check expected outputs
Worksheet 8
- Question 20: Draw two flowcharts: square a number and output Big when the square is greater than 100, otherwise Small; ask for the English alphabet letter count and output Correct only for 26, otherwise Incorrect. Label both branches. Trace 9, 10, 11 and letter counts 26, 25; record a peer check and any correction. Square: Start; input number (or assigned test value); squared = number * number; decision squared > 100; True output Big; False output Small; merge Stop. 9 ->81 Small; 10 ->100 Small; 11 ->121 Big. Alphabet: Start; input count as whole number; decision count == 26; True Correct; False Incorrect; Stop. 26 Correct;25 Incorrect. Require correct process/input/output/decision symbols, labelled directions, no missing branch, both charts peer-traced and corrections stated. Functional labels can differ in wording. These are three required source contexts adapted with original expression and tests. Grown-up review; personal evidence is required.
Worksheet 9
- Question 21: Draw a flowchart that inputs first and second. If first is greater than second, output their sum; otherwise output first minus second. Label True and False. Trace (8, 3), (3, 8) and (5, 5), then ask a partner to check every route and record any correction. Start -> input first -> input second -> first > second? True: result = first + second; False: result = first - second. Output selected result, then Stop; equivalent duplicated output nodes accepted. Original brief says difference; this adaptation explicitly chooses first minus second so negative output for (3,8) is intended, not absolute difference. Expected 11, -5, 0. Equality takes False. Correct diamonds, process rectangles, input/output parallelograms, start/stop, all arrow directions and both branch labels required. Peer trace all three tests and note correction/no correction based on evidence; do not invent execution. Grown-up review; personal evidence is required.
Curriculum & workbook reference
- Cambridge Lower Secondary Computing 7 Student’s Book — pages 32–35
- PaxaKids Grade 7 Computing Lesson 1.11: Making choices IF THEN ELSE in flowcharts — pages 1–9
Computing for your homeschool day
Explore Making choices IF THEN ELSE in flowcharts 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.
