Bit switches
Flip eight switches and watch the number, and its ASCII letter, change.
A byte is eight bits, and each bit is a switch that is off (0) or on (1). Every switch is worth double the one to its right: 1, 2, 4, 8, 16, 32, 64 and 128.
Add up the values of the switches that are on to get the number. If the number is in the ASCII table, the computer can show it as a letter.
Things to try
- Switch on only the 4 and the 1. What number is that? (This is the 5 from the video.)
- Switch on only the 64 and the 1. Which letter do you get?
- Switch on all eight. What is the biggest number a byte can hold?