ORIGINAL COMPUTING EXPLORER · NO ACCOUNT NEEDED

Eight bits.
One exact number.

Switch a place on to include its value, or off to leave it out. This lab treats a byte as an unsigned whole number from 0 to 255.

Build a byte

Read places from 128 on the left to 1 on the right. On small screens, read the top row left to right, then the bottom row left to right. Every card repeats its place value.

Current binary digits, from the 128 place to the 1 place:

PLACE · SELECT · ADD

Six build-a-byte challenges

A decimal target is given. Build its eight-bit representation before revealing the sum. Each challenge starts with all places off, so a target of zero needs no toggles.

Choices and counts stay in this open page only. Resetting or leaving asks before clearing them.

Each place is double the next one.

From left to right, these eight places are 128, 64, 32, 16, 8, 4, 2 and 1. A bit can be 0 or 1. Add the place values whose bits are 1. All zeroes represent 0; all ones represent 255. Leading zeroes keep the display eight bits wide but add nothing.

One byte has eight bits. This lab uses unsigned whole numbers only. The same bits can have different meanings under other rules, such as signed numbers or text encoding. Those rules, arithmetic overflow, fractions and bitwise operations are outside this small model.

On and off describe the choices in this visual model, not a complete model of physical computer hardware. This is general original practice, not a checked course sequence or secure assessment. Answer keys are included in the downloaded code.

No names, settings, answers or scores are stored or sent.

Definitions checked against BBC Bitesize: eight-bit range and binary place values. Interface, cards and challenges are original; no source lesson text or images copied.