LESSON 03 / 12

What Is Programming?

Programming is designing precise instructions to solve a problem. The hard (and fun) part is the thinking — not the typing.

🎓Beginnerlevel
⏱️14 minto finish
✏️4activities

📂 Computational Thinking & Pseudocode🏷️ Computational thinking

🎯 By the end of this lesson you can…

  • Explain what programming really is
  • Describe why computers need unambiguous instructions
  • Spot vague instructions and make them precise
  • Understand why LearnWith teaches thinking before syntax

Programming is giving instructions

If a program is a recipe, then programming is writing the recipe. A programmer decides which steps are needed, puts them in the right order, and writes them so clearly that a machine can follow them without asking a single question.

A person giving a robot the instruction to walk three steps, turn left and stop
You give the instructions. The computer does exactly what you said — nothing more, nothing less.
📘 New termProgramming

Designing a set of precise instructions that solve a problem, so a computer can carry them out.

🍎 Writing directions for a friend who will follow them word for word, even if they’re silly.

The very literal robot game

Imagine asking a robot to “make a sandwich”. A person would understand. A robot wouldn’t! It needs to know: which bread? How many slices? Where is the knife? Spread what, on which side?

Vague → precise

  1. 1Make a sandwichtoo vague!
  2. 2Take 2 slices of breadhow many
  3. 3Spread butter on one side of each slicewhat, where
  4. 4Put cheese between the sliceswhat’s next
  5. 5Cut in halfdone

Thinking first, typing later

Most beginners think programming is about memorising strange symbols like { } ; ( ). That’s just the spelling — we call it syntax. The real skill is the thinking: breaking a problem into clear steps.

Here’s a tiny example of precise thinking. The problem: greet someone by name. Tap each line to see how precise it is, then run it (type a name in the Inputs box).

greet.pseudo 👆 Tap a line to explain it
1BEGIN2    TAKE NAME3    DISPLAY "Hello,", NAME4END
🌍 Real world → Pseudocode
A friend wants a program that tells them if they have enough money to buy a toy.
📥Input

How much money they have, and the toy’s price.

⚙️Process

Compare the two amounts.

🔀Decision

Is the money at least the price?

📤Output

“You can buy it!” or “Keep saving!”

Turn it into pseudocode
1BEGIN2    TAKE MONEY, PRICE3    IF MONEY >= PRICE THEN4        DISPLAY "You can buy it!"5    ELSE6        DISPLAY "Keep saving!"7    END IF8END

Check your understanding

💡 Concept check
Which sentence best describes programming?
🐞 Find the error
A robot is told: “Go to the shop and buy some fruit.” Why is this a problem for a computer?
✏️ Write the pseudocode
Rewrite “brush your teeth” as at least 4 precise DISPLAY steps.
🗣️ Explain your thinking
Why does LearnWith teach pseudocode before a real programming language?

📌 Key takeaways

  • Programming is designing precise instructions to solve problems.
  • A computer never guesses — vague instructions lead to wrong results.
  • Good instructions are clear, complete, in order and unambiguous.
  • Syntax (spelling) is the easy part; logical thinking is the real skill.

Finished reading & practising?

Saved in this browser. Create a free account to keep it forever.