Tuesday, September 10, 2013

Binary

How can you convert from binary to decimal, and from decimal to binary?

If I'm converting from binary to decimal, I look at all the numbers, and find patterns.
Lets say I'm converting the binary number 100111, I know the pattern 111 to be a decimal 7. After I find these patterns, I add them with the rest of the numbers. When I'm converting from decimal to binary I start with the largest number first. For example, if I have the number 134, I would start with the binary value of 128, and then go smaller. 10000110.

No comments:

Post a Comment