What Is 'Code'?
Code is just instructions written down in a way the computer can follow.
You've heard the word code a lot. Let's make it concrete and unscary.
Code is written instructions
Code is the text we write to tell a computer what to do. Each line is usually one instruction. When you write code, you're writing the recipe from Lesson 1 — but in a form the computer can read and follow.
Here's a tiny example. Don't worry about understanding every detail; just notice how it reads like simple, ordered steps:
show "Hello!"
show "Welcome to programming."
show "You can do this."If a computer followed those three lines, it would display three messages, one after another, in that exact order. Each line is an instruction. Read top to bottom, just like a recipe.
This isn't a real language — and that's on purpose
The example above is written in pseudo-code. "Pseudo" means "pretend." Pseudo-code is fake, simplified code we use to explain ideas in plain words, without worrying about the exact rules of a real programming language.
We'll use pseudo-code a lot in this course because it lets us focus on the idea instead of fussy details. The word show just means "display this on the screen." Later, in real languages, the exact word will be different (in Python it's print), but the idea is identical.
Tip: When you read code — even real code — try reading it out loud as plain English steps. "Show hello. Show welcome. Show you can do this." Code is far less intimidating when you narrate it.
Code is for humans too
Here's something people don't expect: code isn't only written for computers. It's also written for people — your future self, and other programmers — to read and understand. Good code is clear and readable, like a well-written recipe. You'll get better at that with practice, and we'll help you along the way.
Quick check
Q1 What is 'pseudo-code'?
Q2 In our pseudo-code, what does a line like show "Hello!" mean?
Want to save your progress? It's free.
Create a free account