Inside the ComputerDigital Logic

A Calculator Made of Switches

Chain a few gates together and they can add

Your phone adds numbers billions of times a second with switches that only know on and off. How can a switch add?

You'll find out

  • What does 1 + 1 make in binary?
  • Which two gates add two bits?
  • Why does the carry have to wait?

Why it matters

Every sum, score and step a computer counts runs through adders like these. Here logic turns into arithmetic.

About 4 min7 interactive slides · 5 questionsLesson 342 · 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. 341Digital LogicLogic GatesAND, OR and NOT: the three ideas every computer is built from