Revision Notes
Cambridge A Level Information Technology (9626): Flowcharts – Revision Notes
Revision notes for Cambridge 9626 IT section 4.2: flowchart symbols, drawing rules, loops, editing, common errors and a self-test.
- Subject
- ICT
- Level
- AS LEVEL
- Topic
- Topic 4 – Algorithms and flowcharts
- Author
- Marlbridge Academic Team
- Updated
- Reviewed by
- Harris Khan (what this means)
Aligned to Cambridge A Level Information Technology (9626), 2025-2027. Official specification .
Syllabus page (what it covers and how it is assessed): Cambridge A Level Information Technology.
Syllabus points this page covers
9626 (AS Level)
- 4.2 Flowcharts
This page covers 1 of the 2 subtopics in topic 4, Algorithms and flowcharts.
Found an error? Report a correction.
Need help with this topic? Request a free trial class for A Level Information Technology (9626).
These notes condense section 4.2 Flowcharts (Topic 4 Algorithms and flowcharts) of the Cambridge International AS & A Level Information Technology 9626 syllabus for 2025, 2026 and 2027. AS Level content, examined in Paper 1 Theory. Full explanations and traced examples are in the flowcharts study guide; test yourself with the flowcharts practice questions.
What the syllabus asks
- Draw a basic program flowchart to solve a given problem.
- Draw a flowchart that shows a decision-making process.
- Edit a given basic flowchart.
- Identify errors in an algorithm or flowchart for a given scenario.
Key terms
| Term | Meaning |
|---|---|
| Flowchart | A diagram of the steps of an algorithm using standard symbols joined by arrows |
| Flow line | An arrow showing the direction to follow |
| Terminator | START or STOP |
| Process box | A calculation or assignment |
| Decision | A question with two exits, Yes and No |
| Subroutine | A call to a separate named flowchart |
| Connector | A small labelled circle joining one part to another |
| Trace | Following the flowchart with sample data and recording each variable |
The symbols
| Element | Shape | Example content |
|---|---|---|
| Terminator | Rounded rectangle | START, STOP |
| Input/output | Parallelogram | INPUT mark, OUTPUT total |
| Process | Rectangle | total ← total + mark |
| Decision | Diamond | mark > 49? |
| Subroutine | Rectangle with double side lines | CalculatePostage |
| Connector | Small circle with a letter | A |
| Flow line | Arrow | (none) |
Operators allowed in the text: comparison >, <, =; arithmetic +, -, *, /.
Drawing rules
- One START; at least one STOP.
- A decision has one way in and two ways out, each labelled Yes or No.
- Every other box has one way out.
- Draw from top to bottom and left to right; avoid crossing lines.
- Keep text short, in pseudocode style.
- Test with a normal value and a boundary value.
Patterns to recognise
| Pattern | Flowchart shape | Pseudocode |
|---|---|---|
| Selection | Decision whose two branches rejoin | IF…ELSE…ENDIF |
| Test-before loop | Decision first, arrow back from the body to the decision | WHILE…ENDWHILE |
| Test-after loop | Body first, decision after, arrow back if the answer says repeat | REPEAT…UNTIL |
| Counting loop | Counter set, tested, increased, arrow back | FOR…NEXT |
| Reuse | Subroutine symbol | PROCEDURE and CALL |
Worked example: totalling until zero
Boxes in order: START; total ← 0; INPUT number; decision number = 0?; Yes goes to OUTPUT total then STOP; No goes to total ← total + number and back to INPUT number.
Inputs 4, 9, 2, 0 give totals 4, 13, 15 and the output is 15. The 0 is not added because the decision sends the flow out of the loop first.
Worked example: a three-way decision
Problem: input an age and output “Free” for under 5, “Child” for 5 to 15 and “Adult” for 16 or more.
| Box | Symbol | Contents | Next |
|---|---|---|---|
| 1 | Terminator | START | 2 |
| 2 | Input/output | INPUT age | 3 |
| 3 | Decision | age < 5? | Yes: 4. No: 5 |
| 4 | Input/output | OUTPUT “Free” | 7 |
| 5 | Decision | age < 16? | Yes: 6. No: 8 |
| 6 | Input/output | OUTPUT “Child” | 7 |
| 7 | Terminator | STOP | none |
| 8 | Input/output | OUTPUT “Adult” | 7 |
Test the boundaries: 4 gives Free, 5 gives Child, 15 gives Child and 16 gives Adult. Two decisions are needed because each decision has only two exits. Every output box leads to the same STOP.
Editing a flowchart
- Trace the original with a sample.
- Find the boxes to change, add or remove.
- Change as little as possible; keep every decision labelled and every path ending at STOP.
- Re-trace, including boundary values.
Example: to add a “Merit” grade for marks of 70 or more to a pass/fail chart, add a second decision (mark > 69?) on the Yes branch of the first.
Finding errors: checklist
- Missing START, STOP or a path with no end.
- A decision with one exit or unlabelled exits.
- A loop that never changes the value it tests (endless loop).
- A total or counter not set to 0 first.
- Wrong comparison or boundary (
>or<where the other is needed). - Wrong symbol (calculation in a parallelogram, input in a rectangle).
- Output inside a loop that should be after it.
- An arrow to the wrong box, so a step is skipped or repeated.
For each error: say where, what is wrong, and how to fix it.
Exam traps
- Drawing a decision as a rectangle.
- Not labelling Yes and No.
- Treating a loop as a separate symbol; a loop is only an arrow back to an earlier box.
- Using
=for both assignment and comparison without care; the arrow is clearer for assignment. - Forgetting that WHILE-style loops can run zero times.
- Skipping the boundary test.
Self-test
- Name the shape used for a decision.
- What shape is used for input and output?
- How many exits does a decision box have, and how are they marked?
- What does a connector do?
- How is a loop drawn on a flowchart?
- What goes in a process box?
- A flowchart sets
count ← 1, then askscount > 3?. Yes stops; No outputs count and adds 1 to count, then returns to the question. What is output? - Give two errors that can make a loop endless.
- Which symbol shows a call to a separate procedure?
- Why are boundary values used when testing?
- A decision asks
age > 17?. Which age should be tested to check the boundary? - A total is added to inside a loop but never set before it. Which error is this?
Answers
- A diamond.
- A parallelogram.
- Two, labelled Yes and No (or True and False).
- It joins one part of a flowchart to another, using the same letter in both circles.
- A flow line goes back to an earlier box, controlled by a decision.
- A calculation or assignment, such as
total ← total + 1. - 1, 2, 3 (the loop stops when count becomes 4).
- The tested variable is never changed in the loop; the decision tests the wrong way round.
- A rectangle with double vertical lines on both sides.
- Errors most often occur at the edge of a condition, such as using > instead of >=.
- 17 and 18 (the values on each side of the boundary).
- A variable not initialised.
Related resources
-
Study guides
Cambridge A Level Information Technology (9626): Algorithms
Cambridge 9626 IT section 4.1 study guide: writing and editing pseudocode algorithms with selection, iteration, nested loops and subroutines, with traced worked examples.
ICT · Cambridge · AS Level
Read guide -
Practice questions
Cambridge A Level Information Technology (9626): Algorithms – Practice Questions
Twelve original Cambridge 9626 IT section 4.1 questions with answers on pseudocode, selection, loops, nested loops, trace tables and subroutines.
ICT · Cambridge · AS Level
Try questions -
Study guides
Cambridge A Level Information Technology (9626): Flowcharts
Cambridge 9626 IT section 4.2 study guide: flowchart symbols, drawing, editing and error-finding for decision-making flowcharts, with traced worked examples.
ICT · Cambridge · AS Level
Read guide
Get free revision emails (optional)
Occasional emails with practice questions, worked explanations and links to free resources for the qualification and subjects you choose. No spam, and you can unsubscribe from any email. The free tools on this site never need an email.