A slide show about the big ideas behind computers. Use the buttons, the โ โ arrow keys, or swipe on a touch screen to move between slides.
The big ideas behind computers, explained with everyday examples
The study of how computers solve problems.
You don't need a computer to understand its big ideas โ most of them are things you already do every day.
Every computer, from a phone to a supercomputer, does three things:
Takes in information โ a key you press, a photo, your voice.
Follows instructions to work something out.
Shows the result โ words on screen, a sound, a printout.
1 0 1 1 0 0 1 0
Binary works like a car's odometer that only has the digits 0 and 1.
When a column "rolls over", it goes back to 0 and the next column goes up by one โ just like 9 โ 10 in everyday numbers.
| Number | Binary |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 2 | 10 |
| 3 | 11 |
| 4 | 100 |
| 5 | 101 |
In the standard code most computers use, capital A is 65, which in bits is:
01000001
A phone with 128 gigabytes of storage has room for about 128 billion of these 8-bit groups.
An algorithm is a set of step-by-step instructions for solving a problem.
You already use algorithms all the time:
Start at page 1 and turn every page until you find it.
Up to 1,000 page turns
Open a 1,000-page book to the middle. Keep the half "Smith" is in and throw away the other. Repeat.
About 10 steps
The fast way is called binary search. Choosing a smart algorithm often matters more than having a fast computer.
Do things in order.
Crack the eggs, then whisk them.
Do something only if it's true.
If it's raining, take an umbrella.
Repeat something.
Stir until the sauce thickens.
Remember a value for later.
Score = 0, add 1 for each point.
Millions of computers connected together, passing messages like a postal system:
You've already used these ideas today. Programming is just writing them down precisely enough for a computer to follow.
First steps and free places to learn
Write and run real code in your browser
The tiny switches inside every computer