What does algorithm mean?
A precise sequence of steps that solves a problem or carries out a task. A program is an algorithm written in a programming language so that a computer can follow it.
In a lesson
That is the programming spine of the Foundations stage: F1 to F4. From here the modules use these tools for bigger ideas: algorithms, defensive programs and testing, and how the robot's computer works inside.
Learn it
- Taught in F4.6 Project: the patrol Functions and structured code, GCSE
Used in
- F1.1 What a program is
- F2.7 Loop patterns
- F3.4 Iterating over a list
- F3.7 Random numbers
- F5.1 What an algorithm is
- F5.2 Flowcharts
- F5.3 Pseudocode and the exam reference language
- F5.4 Trace tables
- F5.5 Linear search
- F5.6 Binary search
and 64 more lessons.
Do the lesson in the simulator