What a computer does
Every computer does the same four things
A computer takes input, processes it, stores it and gives output.
What does a computer actually do? Whatever it looks like, the answer is the same four things. Take one example: typing a report at an office desktop. First, input. Information goes in. You press the A key. Second, processing. The computer follows its instructions and works out which letter that key means. Third, storing. The report is kept, so it is still there tomorrow. Fourth, output. The result comes out: the letter appears on the screen. Every job a computer does is these four steps, repeated very fast.
Hardware and software
Hardware is the machine. Software is the instructions it follows.
Hardware is the physical parts. Software is instructions: the operating system and applications.
Who decides what the machine does with a key press? Not the machine. At the bottom is the hardware: the physical parts, such as the processor, the memory and the screen. By themselves they do nothing. On top of the hardware runs the operating system, such as Windows or Linux. It runs the parts, and it runs the programs. On top of that run the applications: a browser, a word processor. Each does one job for you. And you only ever touch the top layer. The operating system and the applications are software: instructions, which can be copied, installed and updated. Hardware is the part you can touch. To change it, you open the machine.
Bits and bytes
Inside, everything is a number written in 0s and 1s
One 0 or 1 is a bit. Eight bits are a byte, enough to store one letter.
How does a machine made of switches hold a report? It turns everything into numbers. The smallest piece is a bit: one switch, either off or on, written zero or one. Eight bits side by side make a byte. This byte is the number sixty-five, and sixty-five is how the letter A is stored. So the word Hi takes two bytes: seventy-two for the H, a hundred and five for the i. The same trick stores everything else. A picture is three numbers for every dot. Sound is the loudness, measured thousands of times a second.
Bits and bytes · Going deeper
Counting in binary, step by step
Each place is worth twice the one to its right: 64 + 1 = 65. A byte holds 0 to 255.
Sizes
Kilobyte, megabyte, gigabyte, terabyte: each is 1,000 of the last
KB, MB, GB, TB: each step is 1,000 times bigger. A photo is megabytes, a film gigabytes.
A report is thousands of letters, so thousands of bytes. How do we talk about amounts that large? With four steps. Start with one byte: one letter. A thousand bytes is a kilobyte. A page of plain text is about two. A thousand kilobytes is a megabyte. A photo from a phone is about three. A thousand megabytes is a gigabyte. A two-hour film is about four. And a thousand gigabytes is a terabyte, the size of a typical drive, which holds about two hundred and fifty of those films.
Sizes · Going deeper
Two catches: 1,024, and the small b
A 1 TB drive shows as 931 GB in Windows. Mb/s is bits: divide by 8 for bytes.
Kinds of computer
Phone, laptop, desktop, server: the same machine in four shapes
A phone, laptop, desktop and server differ in size and use, not in what is inside.
Is a phone a computer? Is a server? Yes, both. A phone is a computer made to go in a pocket, used through a touch screen. A laptop is made to work anywhere, with its own screen and keys. A desktop sits on a desk, on wall power, and is the easiest to open and upgrade. A server is made to serve many people at once. It usually has no screen at all: you reach it over the network. But inside every one of them are the same parts: a processor, memory and storage.
The parts of a computer
Six parts, one job each
The processor calculates, memory holds work in progress, storage keeps it, and the motherboard joins them.
So what are those parts? Open the office desktop and look. You will find the four things from the start of the lesson, each done by its own part. The motherboard is the large board that connects everything. The processor does the processing. Memory holds the work in progress, right beside the processor. Storage keeps files when the power is off. The graphics processor draws the picture for the screen. The power supply turns wall power into the low voltages the parts need. And cooling carries the heat away.
The parts of a computer · Going deeper
Reading a specification: one line, six parts, in order
A spec line lists processor, memory, storage, graphics, power and size. Read it part by part.
Every shop listing and asset record describes a computer in one line. First the processor, which also tells you the socket. Then the memory: how much, and which type. The storage, and how it connects. The graphics card. The power supply. And the size of case and board.
The course ahead
The hardware, then the operating system, then the work
Next come the parts, one at a time, then the operating system, then running and fixing real machines.
You now know what a computer is. Here is where the course goes from here. First the hardware: four lessons that open the case and take the parts one at a time. Then the operating system: what it does, how the machine starts, and the three you will meet at work. And last, running and fixing real machines, ending with one slow laptop, found and fixed.
Lesson complete
You finished “What a computer is”
Nicely done.