wunder beta

💻 How Computers Work

How a machine that only knows on and off becomes a computer — binary, logic gates, the CPU cycle, memory, software, operating systems, the internet, and the real people and inventions that made it all happen.

8
lessons
~30 min
to learn
🤖 Technology
subject
Teens
level
Start the course →

What you’ll learn

  1. Everything Is On or OffUnderstand binary, why two states beat more, and how any information becomes numbers and then bits.Computers use only 1s and 0s because two clearly distinct states can be read reliably at incredible speed. Binary counts by doubling columns, and eight bits form a byte. Text, colors, and sound all become numbers through agreed codes, and numbers are just bits. The bit is the atom from which all of digital life is built.
  2. Logic Gates and ArithmeticLearn logic gates and truth tables, then see how gates build adders, the ALU, and memory.Logic gates take bits as input and produce a bit following fixed rules; AND, OR, and NOT are the basics, fully defined by truth tables and built from transistors. Wiring gates together produces adders, from a half adder up to circuits that add multi-bit numbers, and bundling them makes the ALU. Feeding gate outputs back into their inputs even creates memory.
  3. Inside the CPUUnderstand the fetch-decode-execute cycle, the clock, and why modern CPUs have many cores.The CPU carries out a program as a long list of simple instructions, repeating a fetch-decode-execute cycle billions of times a second. A clock crystal ticks to keep every step in lockstep, and faster clocks mean more heat. Because clock speed hit a ceiling, designers added multiple cores so computers can genuinely do several things at once.
  4. Memory: Fast, Slow, and ForeverLearn the memory hierarchy from registers and cache through RAM to permanent storage.Computers stack memory by speed: lightning-fast registers and cache inside the CPU, larger but slower RAM as the working memory, and enormous but sluggish storage at the base. RAM is volatile and vanishes when power is lost, so work must be saved to storage to survive. Keeping needed data in the fast layers is why computers feel responsive.
  5. Software Becomes Machine CodeUnderstand how compilers and interpreters turn high-level code into machine code, through layers of language.The CPU only obeys machine code, so human-friendly languages must be translated. A compiler converts a whole program ahead of time into fast machine code, while an interpreter translates line by line as it runs. Languages form layers, from machine code up through assembly to high-level languages, each trading control for clarity. Translation lets people build software without touching raw bits.
  6. The Operating System's JobUnderstand how the operating system manages CPU time, memory, hardware, and the interface.The operating system is the master program that manages everything: sharing CPU time among programs, handing out memory, and controlling storage and network access. It creates the illusion of many programs running at once by switching between them extremely fast, a job called scheduling. Drivers let it talk to varied hardware, hiding the mess behind simple, standard requests.
  7. Connecting the WorldLearn how the internet moves data with packets, IP addresses, protocols, and the client-server model.The internet is a vast web of machines agreeing to shared rules so they can exchange bits. Data is broken into labeled packets that hop between machines and reassemble at the destination. IP addresses identify devices, DNS translates names to numbers, and protocols like TCP and IP govern delivery. Most of the web runs on clients requesting and servers answering, including the cloud.
  8. The People Who Built It, and the Big PictureConnect all the layers into one picture and glimpse where computing goes next.A single click travels through the operating system, into a program translated to machine code, through the CPU's cycle and the ALU built from gates and transistors, up and down the memory hierarchy, and across the internet if needed. Overwhelming complexity is built from stunningly simple, reliable, layered parts. The same foundations underlie new frontiers like AI chips and quantum computing.

Questions this course answers

Why do computers represent information using only two states, 1 and 0?

A wide gap between clearly high and clearly low signals lets the machine tell 1 from 0 dependably even with noise and heat, which is the foundation of digital reliability.

In binary, what is the value of each column compared to the one on its right?

Binary columns double in value — 1, 2, 4, 8, 16 — just as decimal columns multiply by ten.

How can a computer store a letter or a color if it only holds numbers?

Codes like ASCII and Unicode map characters to numbers, and colors are stored as red, green, and blue values, so anything can be turned into bits.

When does an AND gate output a 1?

AND is like two switches in a row: both must be on for the output to be 1.

What are logic gates physically made of?

Gates are built from transistors — tiny switches with no moving parts — wired in patterns that produce AND, OR, or NOT behavior.

What can you build using only AND, OR, and NOT gates?

With just those three gates, chained cleverly, you can build a circuit for any logical decision — the whole universe of computation.

Grounded in trusted sources

  • Computer History Museum
  • Encyclopaedia Britannica
  • IEEE Computer Society
  • Smithsonian National Museum of American History

Every Wunder lesson is built from real, reputable sources — never invented.

Related Technology courses

Wunder is a personalized learn-anything platform — tell it any topic and it builds a beautiful, fact-checked course in minutes, with narration, a knowledge check, and a college-style University track.

Browse more Technology courses · All topics · Home

© 2026 Wunder Learning LLC · Terms & Privacy