Grade 10 · Practical
Algorithms and flowcharts
Introduction to Programming (Delphi) · about 4 min
An algorithm is a precise, step-by-step plan for solving a problem. You design it BEFORE writing code, using pseudocode or a flowchart, so the logic is right before syntax gets in the way.
Key points- An algorithm must be unambiguous, finite (it ends), and produce a correct result for valid input.
- Pseudocode writes the steps in plain, structured English; a flowchart draws them with standard symbols.
- Flowchart symbols: rounded terminator (start/stop), rectangle (process), parallelogram (input/output), diamond (decision), arrows (flow).
- Plan first: a good algorithm makes the Delphi code almost write itself.
- Algorithm — an ordered set of steps that solves a problem.
- Pseudocode — structured English describing an algorithm without language syntax.
- Flowchart — a diagram of an algorithm using standard symbols.
EXAM TIP
when asked to "plan" a solution, draw the flowchart or write pseudocode — you earn planning marks even before any Delphi code.