Chapter 01

What a Computer Is

Kindergarten
At a glance
Core ideaA computer is an obedient helper that only does exactly what it is told.
Key termInput & output — what you give the machine, and what it hands back.
You can…Write exact step-by-step instructions a machine could follow.
Watch outA computer cannot guess what you meant — only what you said.
Theory

A computer is a helper machine. It cannot think or wonder by itself — it only does what a person tells it to do, one small step at a time. The instructions we give a computer are called a program.

Every computer takes something in (called input) and gives something back out (called output). When you press a button on a toy, that press is input — and the toy lighting up or making a sound is output. A computer works the same way, just with many more buttons and many more steps.

Explanation

Here is the most important thing to know about computers: they do exactly what you say, not what you meant to say. If you tell a friend "get me something cold," they might guess and bring water, ice cream, or a cold pillow — a person can guess what you meant. A computer cannot guess. If your instructions are not exact, the computer will do the wrong thing, even if a person would have understood you perfectly.

Big idea. A computer is not magic and it is not alive. It is a very fast, very obedient helper that needs every step spelled out.

Practical

Activity: Be the Computer. Write down the exact steps for making a jam sandwich — nothing left out. Then give your steps to a grown-up or friend and ask them to follow them exactly as written, doing nothing you didn't say. Most people forget a step like "open the jar" or "pick up the knife" — and the "computer" (your friend) will get stuck or make a mess!

Try it again after fixing your steps. This is exactly what real programmers do: write instructions, watch the computer try them, and fix what's missing.

Q&A
Q1 Can a computer think for itself?

No. A computer only follows the instructions it is given. It cannot decide to do something nobody told it to do. It can seem very clever because it follows instructions so fast and so exactly — but every single thing it does traces back to a step someone wrote.

Q2 What is input and output, in your own words?

Input is what you give the computer — like pressing a key. Output is what the computer gives back — like a sound or a picture on the screen. Almost everything a computer does is: take input in, follow instructions, send output out.

Q3 Why do I have to be so exact when telling a computer what to do?

Because a computer cannot guess what you meant — it can only do exactly what you said. People are good at filling in gaps; computers are not. Being exact is the most important skill for talking to any computer.

Concept mind map

How the ideas connect

Every key idea in this chapter, branching from the core concept — use it to see the whole picture at a glance.

inputoutputprogramfollows stepsexactlycannot guessfast and obedientWhat a computer is
Infographic

The key facts, visualised

Input
What you give the computer, like a key press or a button.
Output
What the computer gives back, like a sound or a picture.
Program
The list of instructions a computer follows in order.
Obedient
A computer does exactly what you say, not what you meant.
Solved examples

Worked problems, step by step

Follow each solution line by line, then try to reproduce it on paper before moving on.

Example 1A toy plays a song when you press its button. Name the input and the output.

  1. The button press is what you give the toy.
  2. The song is what the toy gives back.

Example 2Put these three in the right order: output, follow steps, input.

  1. First the computer takes something in.
  2. Then it follows its instructions.
  3. Then it gives something back.
Practice problem set

Now you try

Work each one out first, then tap to reveal the worked answer.

1Can a computer think for itself?
No. It only follows the instructions it is given and cannot decide to do something nobody told it to do.
2What is input, in your own words?
Input is what you give the computer, such as pressing a key or moving a mouse.
3What is output?
Output is what the computer hands back, such as a picture on the screen or a sound.
4Why must instructions be exact?
A computer cannot guess what you meant. It can only do exactly what you said, so any missing step causes a mistake.
5Is a computer alive or magic?
No. It is a very fast, very obedient helper machine that needs every step spelled out.
6You type a letter on a keyboard and it appears on screen. What is input and output here?
The key you press is the input; the letter shown on the screen is the output.