Why do computers use only 1s and 0s?

Computers use 1s and 0s because their switches have just two settings. On means 1, and off means 0. Combining millions of them, computers store words, pictures, and music. This code is called binary.

Imagine sending messages with only a flashlight: on or off. Inside a computer chip are billions of microscopic switches called transistors. Each one either lets electricity through or blocks it. One switch alone can only say yes or no. But put eight together, and you get 256 different patterns. That's enough for every letter, number, and symbol on a keyboard. For example, the capital letter A is often stored as 01000001. Pictures are stored as millions of colored dots, and each dot's color is a number. Using just two digits makes computers fast and very reliable.
New words: binary, transistors

Sources: Computer History Museum and Encyclopaedia Britannica. How we check our facts
