The trapA computer only knows ones and zeros — so where do the letters on your screen come from?
See the picture
Click a bulb to switch it on or off. One on/off pattern is one number, and each number has a letter assigned to it.
1280
641
320
160
81
40
20
10
The upper number is the place value; the lower one is on (1) or off (0).
on / off
0100 1000
number
72
letter
H
patterns this board can show256
set it to a letter
A group of eight bulbs is called one byte. This board is one byte.
Follow the sentences
1/36
How does a computer that knows only ones and zeros read letters?
Text mode advances to the next sentence every 3 seconds.
Picture it this way
Picture eight light bulbs in a row. One bulb can say only two things: on, or off.
Put eight of them side by side, though, and the on/off patterns multiply. Pair every pattern with a letter in a table written down in advance, and the computer can hand you a letter just by looking at the pattern. That table is called ASCII.
Click the bulbs above. Change the pattern and the number changes; change the number and the letter changes. The table is the only thing the computer actually has.
Now the numbers
computed · just now
One bulb gives you 2 patterns; eight side by side give 256. Add just one more bulb and you get 512 — one bulb added, and the count doubles.
Thirty-two bulbs give 4,294,967,296 patterns. Four times the bulbs, and this is how far the counting reaches. Adding a slot multiplies the count rather than adding to it.
These numbers are not written into the sentence. They are worked out while this page renders.
In one sentence
A computer does not know letters; it follows a table that pairs on/off patterns with them.
Progress is stored in this browser only (no account, no sync between devices).
Quick check
0 / 3 correct
1.You go from 8 bulbs to 9. How many patterns can you now represent?
2.What can a single board of eight bulbs NOT represent?
3.Why can the very same on/off pattern read as the letter A one moment and the number 65 the next?
New words here
bit
The smallest slot there is, like a single bulb: it holds on or off and nothing more.
byte
The name for a group of eight bits. The board above is one byte.
ASCII
The agreed-in-advance table saying which on/off pattern means which letter.