Game Statistics
Adding Binary Numbers
When adding binary numbers you need to remember the following rules:
1 + 0 = write 1
1 + 1 = write 0, carry 1
1 + 1 + 1 = write 1, carry 1
Work from right to left, one column at a time.
Example:
0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | |
0 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | + |
1 | 1 | 1 | 1 | 1 | Carry | |||
1 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | Answer |
---|
Final answer: 10101010
Converting Binary to Denary
To help you to convert between Binary and Denary write the placeholders:
128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
---|---|---|---|---|---|---|---|
0 | 1 | 0 | 1 | 0 | 0 | 1 | 1 |
Now add the placeholders with a 1 together
128 + 16 + 2 + 1 = 83
Converting Binary to Hexadecimal
Example: 10110101
To convert between Binary and Hex, first split the number into two nibbles and write the placeholders:
8 | 4 | 2 | 1 |
---|---|---|---|
1 | 0 | 1 | 1 |
B (11) |
8 | 4 | 2 | 1 |
---|---|---|---|
0 | 1 | 0 | 1 |
5 |
Final answer: B5
Converting Hexadecimal to Binary
Remember in hexadecimal there are 16 units / numbers - 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F, where A=10, B=11 . . F=15.
Example: B5
To convert between Hex and Binary, first split the number into two nibbles and then write placeholders for each nibble:
B (11) | |||
8 | 4 | 2 | 1 |
---|---|---|---|
1 | 0 | 1 | 1 |
5 | |||
8 | 4 | 2 | 1 |
---|---|---|---|
0 | 1 | 0 | 1 |
Calculate the binary number by adding together the placeholders (where you've placed 1s) until you reach the desired number
Final answer: 10110101
Converting Hexadecimal to Denary
To help you to convert between Hex and Denary write the placeholders:
16 | 1 |
---|---|
E | 9 |
Now multiply each value by it's placeholder (remember E = 14)
(9 x 1) + (14 x 16) = 9 + 224