Counting storage
A computer is built from tiny switches, and each switch is either on or off. We write on as 1 and off as 0, and one 0 or 1 is called a bit. A group of 4 bits is a nibble. A group of 8 bits is a byte, and one byte is enough to store one character. A character can be a letter, a digit, a symbol, a punctuation mark or a space. Larger amounts of data are counted in steps of 1024. A kilobyte is 1024 bytes, a megabyte is 1024 kilobytes, a gigabyte is 1024 megabytes and a terabyte is 1024 gigabytes. The shops often round these numbers to 1000, but computers count in 1024.
| Unit | Short form | Size | About how much |
|---|---|---|---|
| bit | b | a 0 or a 1 | the smallest piece |
| nibble | 4 bits | half a byte | |
| byte | B | 8 bits | one character |
| kilobyte | kB | 1024 B | a page of plain text |
| megabyte | MB | 1024 kB | a song |
| gigabyte | GB | 1024 MB | hours of music |
| terabyte | TB | 1024 GB | a huge collection of files |
| Change | Working | Answer |
|---|---|---|
| 2 kB to bytes | 2 × 1024 | 2048 bytes |
| 3 MB to kB | 3 × 1024 | 3072 kB |
| 2 GB to MB | 2 × 1024 | 2048 MB |
| 4 TB to GB | 4 × 1024 | 4096 GB |
Byte game (no computer): take eight small cards or coins. Put each one face up for 1 or face down for 0. Make the byte 01001000 and read it aloud. Make three more bytes of your own and ask a partner to say how many bits you used. Next, write a short message, such as ‘Meet at 4.’, and count every letter, number, space and full stop. The number of characters is the number of bytes. Multiply by 8 to find the bits. If you have a computer or tablet, look at the size of a small text file and a photo and compare them.