What is Programming
Programming is giving the computer step-by-step instructions. Just like a recipe tells you how to make food, code tells the computer what to do. We write code in a programming language (like Python) that both humans and computers can understand.

Appy Saysโฆ
I've written thousands of lines of code. Every single app you use โ TikTok, Spotify, Roblox โ started with someone typing instructions, just like you're about to. Once you can code, you can build anything.
What is Programming?
Programming means giving a computer a list of step-by-step instructions โ called code. The computer follows those instructions exactly, in order, every single time. We write code in a programming language (like Python) that both humans and computers can understand.
- โขCode is like a recipe โ each line is a step the computer follows
- โขPython is one of the most popular languages in the world
- โขprint() is the first instruction most programmers ever write โ it displays text on screen
Think of it like a game walkthrough
In Minecraft you give instructions to a command block: do this, then that, then repeat. Programming is exactly the same idea. The difference? You're writing the walkthrough for real software that millions of people use.
Real-World Examples
- โขTikTok's video feed algorithm โ written in Python โ decides which videos you see
- โขNASA uses Python to control Mars rovers and analyse space telescope images
- โขEvery website you visit runs code that someone wrote just like you're learning now
- โขRoblox games are built with scripts that follow the same logic you're about to learn
How does it actually run?
- โขStep 1: You write code in a text editor (or the IDE here)
- โขStep 2: Python reads your code from top to bottom
- โขStep 3: Each instruction executes one at a time
- โขStep 4: The result appears on screen (or in a file, or on the internet)
Key Facts
- โขPython was invented in 1991 โ but it's more popular now than ever
- โขA comment starts with # โ Python ignores it; it's a note for humans
- โขprint() is a built-in function โ Python gives you hundreds of these for free
- โขOne missing bracket or wrong spelling causes an error โ computers are very precise
Common Mistake
Python is case sensitive. print() works; Print() gives an error. Small details matter a lot โ get used to reading error messages carefully, they tell you exactly what went wrong.
Remember
Computers are incredibly fast but also incredibly literal โ they do exactly what you tell them. No more, no less. Your job as a programmer is to be precise.
What You Learned
- โขProgramming is giving computers step-by-step instructions called code
- โขPython is a popular language used in apps, science, and AI
- โขprint() shows text on screen โ the classic first command
- โขComments (#) are notes for humans that Python ignores
- โขComputers follow code exactly โ spelling and capitalisation matter
Key Facts
- โPython was invented in 1991 โ but it's more popular now than ever
- โA comment starts with # โ Python ignores it; it's a note for humans
- โprint() is a built-in function โ Python gives you hundreds of these for free
- โOne missing bracket or wrong spelling causes an error โ computers are very precise
Real-World Examples
Remember
Computers are incredibly fast but also incredibly literal โ they do exactly what you tell them. No more, no less. Your job as a programmer is to be precise.
Quick Quiz
What is code?