Bit switches

Knowledge Videos

Short animated explainers, organised by subject.

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

From the videos