 |
Numbers
We all know and love decimals. Decimals run on a base 10 system. There are 10 numbers in each unit
holder. Computers operate on binary signals, 0's for off, and 1's for on. This is base 2, because each
column has 2 possible values. For large numbers, binary can get hard to read so low level computer
language is presented in Hexadecimal. Hexadecimal is base 16 because each column contains 16
different possible values. There are the 10 values, 0 through 9, and the letters A, B, C, D, E, and F.
| 11087223 | decimal is converted to hexadecimal |
| hex is
separated into pairs |
| 10101001 00101101 01110111 | converted to binary bytes
(8-bits) |
| 101010010010110101110111 | 1's 0's that the computer
understands |
| Base | Decimal | Binary | Binary (Bytes) | Hexadecimal |
| | 10 | | | 2 | | 2 | | 16 | |
| Numbers | 0 | 0 | 00000000 | 0 |
| 1 | 1 | 00000001 | 1 |
| 2 | 10 | 00000010 | 2 |
| 3 | 11 | 00000011 | 3 |
| 4 | 100 | 00000100 | 4 |
| 5 | 101 | 00000101 | 5 |
| 6 | 110 | 00000110 | 6 |
| 7 | 111 | 00000111 | 7 |
| 8 | 1000 | 00001000 | 8 |
| 9 | 1001 | 00001001 | 9 |
| 10 | 1010 | 00001010 | A |
| 11 | 1011 | 00001011 | B |
| 12 | 1100 | 00001100 | C |
| 13 | 1101 | 00001101 | D |
| 14 | 1110 | 00001110 | E |
| 15 | 1111 | 00001111 | F |
| 16 | 10000 | 00010000 | 10 |
| 17 | 10001 | 00010001 | 11 |
| 18 | 10010 | 00010010 | 12 |
| ... | ... | ... | ... |
| 252 | 11111100 | 11111100 | FC |
| 253 | 11111101 | 11111101 | FD |
| 254 | 11111110 | 11111110 | FE |
| 255 | 11111111 | 11111111 | FF |
| Decimal
Name | Abbr. | Power | Decimal Value | Binary
Value |
| Byte | B | 100 | 1 | 1 |
| Kilobyte | kB | 103 | 1 000 | 1 024 |
| Megabyte | MB | 106 | 1 000 000 | 1 048 576 |
| Gigabyte | GB | 109 | 1 000 000 000 | 1 073741 824 |
| Terabyte | TB | 1012 | 1 000 000 000 000 | 1 099 511 627 776 |
Bits and Bytes | ASCII
|  | |
|