Four genuinely different ways computers manage the raw bits underneath everything else: representing real numbers with limited precision, manipulating individual bits directly, squeezing repeated patterns out of data, and catching when a bit has flipped by accident.
A floating point number is stored as two separate pieces: a mantissa (the significant digits) and an exponent (how far to shift the point), both in two's complement, both normalised so the mantissa uses every available bit of precision. Two formats below, both genuinely used in exam questions.
Enter any mantissa, even a deliberately un-normalised one, and watch the actual shift-and-adjust-exponent process, one step at a time.
Every exercise below is auto-marked, and every correct answer is computed by the exact same verified functions driving the converter and normalisation tool above, not hand-typed answers that could contain a mistake.
Click any bit below to flip it. Every operation recalculates live, this is genuinely how AND, OR, XOR and NOT behave, bit by bit, no shortcuts.
Using A above and a mask, try each of these real-world bit tricks.
A real compression algorithm: characters that appear more often get shorter codes, characters that appear rarely get longer ones. Type some text and watch it build the actual code table.
Click any bit to flip it, simulating a transmission error, and watch whether the parity check actually catches it.
Parity is one specific checksum. Two genuinely widespread ones use modulo arithmetic directly: the Luhn algorithm validates every credit card number, and ISBNs carry their own built-in check digit.