Tap a bit to flip it between 0 and 1
Binary is base 2: each place is worth twice the place on its right.
n bits can store 2ⁿ different values, from 0 to 2ⁿ − 1. One hexadecimal digit stands for exactly 4 bits.
Computers store text as numbers: in ASCII, “A” is 65 = 0100 0001₂.
Give five students cards showing 16, 8, 4, 2, 1 dots. Call out a number; they flip their cards face up or down to make it. That is binary.
For Class 11–12, switch on two's complement and ask why 1111 1111 means −1.
A free coding & ai simulation for Class 6–12 and Olympiad.