Wednesday, June 20, 2012

Binary

I was bored so I decided to write up an explanation of binary.

We've all seen the famous 1's and 0's that appear in movies like the matrix. But how does binary work?

Binary is very simple once you understand it. The whole system is based off of powers of 2. Here is an example:
1001 = 9
Every 1 in binary represents 2^x. Here is a small chart; the numbers start at 0.
Binary Digits(Bits)  = 0110
                         X  = 3210
For ever 1 you see, you would take 2^ of the x value under it. So with 1001, you would take:
1001
3210
2^3
2^0
Then you add them together.
2^3 = 8
2^0 = 1
8 + 1 = 9
Therefore, 1001 = 9.
-Tanstorm, Administrator at CanadianKillerCraft

No comments:

Post a Comment