Computer Science · Ch 1 — Computer System
Units of Memory
1.3.1
Units of Memory
A computer system stores and processes everything using binary numbers — sequences of the digits 0 and 1. The units in which memory is measured are therefore built up from the binary digit itself.
Bit, nibble and byte
- Bit — the binary digits 0 and 1 are the basic units of memory; each single 0 or 1 is one bit.
- Word — bits are grouped together to form words.
- Nibble — a 4-bit word is called a nibble. Examples:
1001,1010,0010. - Byte — a two-nibble word, i.e. an 8-bit word, is called a byte. Examples:
01000110,01111100,10000001.
The byte is the standard building block: like any other standard unit, bytes are grouped together into bigger chunks of memory.
The ladder of memory units
Table 1.1 gives the measurement units for digital data stored in storage devices. Each unit is 1024 times the one before it:
| Unit | Value |
|---|---|
| KB (Kilobyte) | 1 KB = 1024 Bytes |
| MB (Megabyte) | 1 MB = 1024 KB |
| GB (Gigabyte) | 1 GB = 1024 MB |
| TB (Terabyte) | 1 TB = 1024 GB |
| PB (Petabyte) | 1 PB = 1024 TB |
| EB (Exabyte) | 1 EB = 1024 PB |
| ZB (Zettabyte) | 1 ZB = 1024 EB |
| YB (Yottabyte) | 1 YB = 1024 ZB |
So the full chain runs: bit → nibble (4 bits) → byte (8 bits) → KB → MB → GB → TB → PB → EB → ZB → YB, with a factor of 1024 at every step from bytes upward. …
Table 1.1Measurement units for digital data
| Unit | Description | Unit | Description |
|---|---|---|---|
| KB (Kilobyte) | 1 KB = 1024 Bytes | PB (Petabyte) | 1 PB = 1024 TB |
| MB (Megabyte) | 1 MB = 1024 KB | EB (Exabyte) | 1 EB = 1024 PB |
| GB (Gigabyte) | 1 GB = 1024 MB | ZB (Zettabyte) | 1 ZB = 1024 EB |