Professional Documents
Culture Documents
Nerd Test
If you laugh at this you must be a nerd ☺
0 1 2 3 4 5 6 7 8 9
10 11 12 13 14 15 16 17 18 19
20 21 22 23 24 25 26 27 28 29
Where the decimal number system uses 10 symbols (0 to 9), hexadecimal (Hexadecem is
Latin for 16) there are 16 symbols. To provide an additional 6 symbols, the letters
A to F (or a to f) are used as illustrated below.
0 1 2 3 4 5 6 7 8 9 A B C D E F
10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F
20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F
0 1 2 3 4 5 6 7 8 9 A B C D E F
10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F
20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F
30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F
40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F
Q: If you and DEAD people can read HEX how many people can read HEX?
A: 57006 (#DEAE)
Binary Numbers
"There are 10 kinds of people in the world. Those that understand binary, and those that don’t"
Binary is used because it can be represented by on/off, true/false, 1/0 and so on making it simple
to implement (in hardware).
The digits range from lowest order on the right, to highest on the left (like decimal and hex). The
decimal value can be calculated by raising 2 to the power of the position or column in which the
digit resides.
27 26 25 24 23 22 21 20
Because each value is raised to the power of 2, the value of the column is simply double the
value of the next column. The columns above therefore evaluate to the decimal values below.
128 64 32 16 8 4 2 1
Converting the binary number to decimal simply requires the value in the column to be
multiplied by the value of the column. As the value in a column can only be 0 or 1, this is very
simple.
128 64 32 16 8 4 2 1
1 0 0 1 1 0 1 0
128 + 0 + 0 + 16 + 8 + 0 + 2 + 0 = 154
Converting binary to hex requires that the binary number is broken up into blocks of 4 digits and
the corresponding hex digit of 0 – F is substituted from the table below.
0010 1010
2 A
Converting from hex to binary is done in the same way. For example convert the hex value B6 to
binary.
B 6
1011 0110
Binary Hexadecimal
0000 0
0001 1
0010 2
0011 3
0100 4
0101 5
0110 6
0111 7
1000 8
1001 9
1010 A
1011 B
1100 C
1101 D
1110 E
1111 F
is the same as