Flowcharts
A correct flowchart follows a small set of rules. Use them as a checklist whenever you complete, correct or refine one.
score or attempts so later symbols can refer to them.Worked example: a flowchart for a bike-hire kiosk asks for hours hired in an input parallelogram, calculates cost as hours multiplied by 4 in a process rectangle, then asks whether cost is over 20 in a decision diamond. It outputs "Pay deposit" on Yes and "No deposit" on No, and both exits lead to Stop. If the Yes exit had no label, or the calculation sat in a parallelogram, correcting the flowchart would mean fixing that label or shape.
Completing may mean adding a missing arrow, label, symbol or loop update and reconnecting the parts, so the flowchart follows the rules and solves the given problem. Refining means improving a working flowchart: correcting errors, making the order clearer, or using nesting and a sub program symbol to organise it.
OCR GCSE Computer Science · Flowcharts