positional number systems base the value of a digit on its position. this changes with the base that you use, for example in binary base2 110 does not equal the one hundered ten that it does in the base ten that we use regualarlly.
The easiest way to convert binary to decimal that we talked about in class involved using the 2 to increasing powersand then adding the numbers that correspond to ones in the binary number.
2^8 / 2^7 / 2^6 / 2^5 / 2^4 / 2^3 / 2^2 / 2^1 / 2^0
1 / 1 / 0 / 0 / 1 / 0 / 1 / 0 / 1
256 + 128 + 16 + 4 + 1 = 405
num. | quotient | remain. | binary |
529 | 264 | 1 | 1 |
264 | 132 | 0 | 01 |
132 | 66 | 0 | 001 |
66 | 33 | 0 | 0001 |
33 | 16 | 1 | 10001 |
16 | 8 | 0 | 010001 |
8 | 4 | 0 | 0010001 |
4 | 2 | 0 | 00010001 |
2 | 1 | o | 000010001 |
1 | 0 | 1 | 1000010001 |