| Bits and bytes | ||||||||||
| Physical representation | ||||||||||
| "Bits is bits": 10101100011 | ||||||||||
| bit: single binary digit, value 0 or 1 | ||||||||||
| nybble: 4 bits | ||||||||||
| byte: 8 bits | ||||||||||
| halfword: 16 bits (2 bytes) | ||||||||||
| word: 32 bits (4 bytes); can vary with machine architecture | ||||||||||
| 32-bit architecture in this class | ||||||||||
| doubleword: 64 bits (8 bytes) | ||||||||||
| bit string: any number of consecutive bits (11 bits in example) | ||||||||||