Key Ideas
1Why Binary?. Computers use binary (base-2) because transistors — the fundamental building blocks of all processors and memory — have exactly two states: on (1) or off (0). Everythi...
2Binary Positional Notation. Just like decimal uses powers of 10 for position values (1s, 10s, 100s, 1000s), binary uses powers of 2. Each position in an 8-bit binary number has a fixed value. The...
3Binary to Decimal — 5 Worked Examples. To convert binary to decimal: write down the positional values (128, 64, 32, 16, 8, 4, 2, 1), multiply each by the corresponding bit (1 or 0), then add all results.
4Decimal to Binary — 5 Worked Examples. To convert decimal to binary using the subtraction method: start with the largest positional value (128). If the decimal number is >= 128, write 1 and subtract; oth...
5IP Addresses in Binary. An IPv4 address is really a 32-bit binary number written as four decimal octets for human readability. The subnet mask is also 32 bits: consecutive 1s identify the net...