Inside the ComputerDigital Logic

Logic Gates

AND, OR and NOT: the three ideas every computer is built from

Your phone makes millions of decisions a second with switches that only know on and off. How can on and off decide anything?

You'll find out

  • What does AND need to light up?
  • How do you build NOT from a switch?
  • Which gate starts a calculator?

Why it matters

Every choice a computer makes is built from these three gates. Once you see them, a chip is just a lot of them.

About 3 min6 interactive slides · 5 questionsLesson 341 · Zone 38

Play this lesson

Free to play in your browser or on iPhone

More in this zone

  1. 334RadioHow Radio Carries a SongAM changes the wave's size; FM changes its rhythm
  2. 335Generative AITwo Networks at WarA forger and a detective train each other until fakes look real
  3. 336Motion PerceptionThe Waterfall IllusionStare at falling water and the rocks start to rise
  4. 337TimekeepingChina Has One Time ZoneThe sun can rise at 10 a.m. in the west of China
  5. 338LogicThe Barber ParadoxA perfectly ordinary rule can describe an impossible person
  6. 339Digital EconomicsNetwork EffectsOne phone is useless; a billion phones are priceless
  7. 340Electric VehiclesWhy Electric Cars Are So QuickElectric motors give full force from a standstill
  8. 342Digital LogicA Calculator Made of SwitchesChain a few gates together and they can add