🧩Program
Also known as Computer Program
A list of steps for a computer. It runs them in order to do a job.
Think of it like
Think of it like a recipe. The cook does each step in order, and a cake comes out.
Example
Jack writes a program of four lines. It asks for a name, then prints "Hello, Jack!" on the screen.
Why it matters
Every app you use is one or more programs. Writing one is how you teach a computer a new job.
Definition
Example code
python
name = "Emma"
print("Hello, " + name + "!")
# prints: Hello, Emma!Common mistake
Key takeaways
- 1Steps in order. The computer runs one step, then the next.
- 2Exact, not smart. It does what is written, not what you meant.
- 3Small parts. Big jobs are built from many tiny steps.