What a computer does

Every computer does the same four things

One example: typing a report on an office desktop1 Inputinformation goes inYou press the A key.2 Processit follows instructionsIt works out which letterthat key means.4 Outputresults come outThe letter A appearson the screen.3 StoreThe report is keptfor tomorrow.Input, process, store, output: everything a computer does is made of these four.A phone taking a photo, a laptop adding up a spreadsheet and a server sending a web page are all doing the same four things.The rest of this course is about the parts that do each one, and the software that tells those parts what to do.

A computer takes input, processes it, stores it and gives output.

Hardware and software

Hardware is the machine. Software is the instructions it follows.

YouApplicationsa web browser, a word processor, a game: each does one job for youOperating systemWindows, Linux, macOS, Android: runs the programs and the partsHardwareprocessor, memory, storage, screen, keyboard: the physical partsSOFTWAREInstructions. It can be copied,installed, updated and removed.HARDWAREThings you can touch. To changeit, you open the machine.Hardware can do nothing by itself. Software tells it what to do, one small instruction at a time.The same office desktop is a typewriter, a calculator or a cinema, depending only on which program is running.Software comes in two layers: the operating system, which runs the machine, and applications, which do your work.

Hardware is the physical parts. Software is instructions: the operating system and applications.

Bits and bytes

Inside, everything is a number written in 0s and 1s

One bit01offonEight bits make one byte01000001= 65the number 65, which is how the letter A is storedThe word Hi is two bytes01001000H = 7201101001i = 105Everything is stored this wayTexteach letter is a number: A is 65Pictureseach dot is three numbers: red, green, blueSoundthe loudness, measured thousands of times a secondA computer stores only numbers, and it writes every number with just two digits: 0 and 1.Two digits are enough, and a part that is only ever off or on is tiny, cheap to make and very hard to misread.One 0 or 1 is a bit. Eight bits are a byte, enough for one letter. Files, memory and drives are all sized in bytes.

One 0 or 1 is a bit. Eight bits are a byte, enough to store one letter.

Bits and bytes · Going deeper

Counting in binary, step by step

What each place is worth128643216842101000001Add the places that hold a 1:64 + 1 = 65All eight at 1:128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255So one byte holds any whole number from 0 to 255: 256 different values.Countingin binary0000010001200103001140100501016011070111810008 needs a fourth placeIn decimal each place is worth ten times the one to its right. In binary each is worth twice.To read a byte, add up the place values that have a 1 under them. To count, add 1 at the right, and carry when a placewould reach 2: after 0111 comes 1000, just as 1000 follows 0999 in decimal.

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

Byte (B)8 bitsone letter× 1,000Kilobyte (KB)1,000 bytesa page of plain textis about 2 KB× 1,000Megabyte (MB)1,000 KBa phone photois about 3 MB× 1,000Gigabyte (GB)1,000 MBa two-hour film in HDis about 4 GB× 1,000Terabyte (TB)1,000 GBa 1 TB drive holdsabout 250 such filmsTypical sizes. Real files vary.Each unit is 1,000 of the one before it. Four steps take you from one letter to a whole drive.Memory and storage are both sized in these units: an office desktop might have 16 GB of memory and a 1 TB drive.When a figure looks large, count the steps: a 4 GB film is about a thousand photos, or two million pages of text.

KB, MB, GB, TB: each step is 1,000 times bigger. A photo is megabytes, a film gigabytes.

Sizes · Going deeper

Two catches: 1,024, and the small b

Catch 1: the drive looks smaller than the box saysOn the box: 1 TB1,000,000,000,000 bytesIn Windows: 931 GBthe same bytes ÷ 1,024 ÷ 1,024 ÷ 1,024Makers count in steps of 1,000. Windows counts in steps of 1,024and still writes GB. Nothing is missing: it is one amount, counted two ways.Steps of 1,000KB MB GB TBSteps of 1,024KiB MiB GiB TiBKiB, MiB, GiB and TiB are the exact names for the 1,024 steps. Memory is sized in them.Catch 2: speeds are in bits, with a small b100 Mb/smegabits a second12.5 MB/smegabytes a secondA byte is 8 bits, so divide the speed by 8to get the bytes that arrive each second.A 4 GB film on a 100 Mb/s line:4,000 MB ÷ 12.5 MB/s = 320 seconds,which is a little over 5 minutes.Two catches: drives are counted in 1,000s and shown in 1,024s, and speeds are in bits, not bytes.A 1 TB drive shown as 931 GB is healthy and complete. A small b means bits and a capital B means bytes, so 100 Mb/sis 12.5 MB/s. Both questions come up on a help desk every week, and both have the same answer: check the unit.

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

PhoneLaptopDesktopServerMade togo in a pocketwork anywheresit on a deskserve many people at onceYou use it througha touch screenits own screen and keysa separate screen and keysthe network: it has no screenRuns ona batterya battery or wall powerwall powerwall power, day and nightTypical memory, 20258 GB16 GB16 to 64 GB64 GB and far moreThe same in every one: a processor, memory and storage, doing the same four thingsInsideThey differ in size, power and how you reach them. What is inside, and what it does, is the same.A server is not a special kind of machine. It is a computer whose job is to answer other computers, usually from a rack in a data centre.This course uses an office desktop as its example, because it is the one you can open to see every part.

A phone, laptop, desktop and server differ in size and use, not in what is inside.

The parts of a computer

Six parts, one job each

MOTHERBOARD: connects every part and carries data and power between themProcessor (CPU)does the calculating6 to 24 coresMemory (RAM)holds work in progress16 to 64 GBStorage (SSD)keeps files with power off0.5 to 4 TBGraphics (GPU)draws the picture8 to 16 GB of its ownPower supplywall power in,12, 5 and 3.3 V outCoolingcarries theheat outSix parts, one job each, joined by the motherboard.The processor works on what is in memory; memory is fast and forgets everything at power-off; storage is slowerand remembers. The figures are typical of a desktop sold in 2025. When a computer is slow or dead, the firstquestion is always which of these parts is not doing its job.

The processor calculates, memory holds work in progress, storage keeps it, and the motherboard joins them.

The parts of a computer · Going deeper

Reading a specification: one line, six parts, in order

Core i7-14700K · 32 GB DDR5-5600 · 1 TB NVMe SSD · RTX 4070 12 GB · 750 W Gold · ATXOn the labelWhich partWhat it tells youIntel Core i7-14700Kprocessor20 cores; the socket is LGA 170032 GB DDR5-5600memorytwo 16 GB modules of DDR51 TB NVMe SSDstoragean M.2 drive on PCIe lanesGeForce RTX 4070, 12 GBgraphicsin the x16 slot, with 12 GB of its own memory750 W 80 PLUS Goldpower supplyenough for the parts above, 90% efficientATX mid-towercase and board sizetakes an ATX board or smallerA specification line is the six parts in order. Read it part by part.Each item names one part and its size. Compatibility is a chain: the processor fixes the socket, the board fixesthe memory type and the slots, and the total draw fixes the power supply.

A spec line lists processor, memory, storage, graphics, power and size. Read it part by part.

The course ahead

The hardware, then the operating system, then the work

THE HARDWARE2Inside the computer3The processor and memory4Storage5Ports, cables and displaysTHE OPERATING SYSTEM6What an operating system does7How a computer starts8Windows, Linux and macOS9Installing, updating and backing upRUNNING AND FIXING IT10Virtual machines and containers11Mobile devices and printers12Troubleshootingand professional practiceWorked case: the laptop got slowNext, open the case. Lessons 2 to 5 take the parts one at a time.Then four lessons on the operating system, the software that runs those parts, and three on running and repairing real machines.The course ends with a worked case: one slow laptop, measured part by part and fixed at the cause. Each box opens its lesson.

Next come the parts, one at a time, then the operating system, then running and fixing real machines.

Lesson complete

You finished “What a computer is”

Nicely done.

Open in a new tab