🖥️ Program
3rd Grade 💻 Coding
A computer program, or software, is a set of instructions written in a programming language that a computer carries out to do something complete — a game, a calculator, a website or an app.
An algorithm is the idea — the list of steps. A program is that algorithm written in a language the computer can run. When you start a program (“run” it), the computer reads the instructions and carries them out one after another, very fast.
A program can be tiny — a single line that shows “Hello, world” — or enormous, with millions of lines written by hundreds of people. Big programs are built from small parts, like functions, that each do one job. Without software, even the most powerful computer can’t do anything at all.
For example
- The calculator on your phone is a program: it takes in numbers and an operation, calculates, and shows the result.
- Mia wrote a little program in Scratch where a cat says hello when you click on it.
- The washing machine at home runs a program: “fill with water, spin the drum, drain, spin dry” — and every kind of laundry gets a slightly different program.
📌 Remember: The algorithm is the idea; the program is that idea written in the computer’s language.
Quick quiz
What is a computer program?
What is the difference between an algorithm and a program?
What does it mean to “run” a program?