Binary is a base-2 number system that uses only two digits: 0 and 1. It's the fundamental language of computers, where each binary digit (bit) represents an on (1) or off (0) state.
Bit Position | Power of 2 | Decimal Value | Binary Representation |
---|---|---|---|
7 (MSB) | 2⁷ | 128 | 10000000 |
6 | 2⁶ | 64 | 01000000 |
5 | 2⁵ | 32 | 00100000 |
4 | 2⁴ | 16 | 00010000 |
3 | 2³ | 8 | 00001000 |
2 | 2² | 4 | 00000100 |
1 | 2¹ | 2 | 00000010 |
0 (LSB) | 2⁰ | 1 | 00000001 |
All CPU operations are performed using binary arithmetic and logic gates.
Hard drives, SSDs, and memory store data as binary patterns.
Data packets are transmitted as binary signals over networks.
Images, audio, and video are encoded as binary data.
Cryptographic algorithms operate on binary data for security.
Neural networks process binary representations of data.