Re: Understanding Binary Code
I learned this stuff in high school computer science. I personally believe hex is easier to under than binary to a person who knows basic base ten math.
The difference base sixteen (hex) and base ten is that you don't move to the next "place" until you reach 16 instead of 10. In base ten if you add 1 to 9 you will move to the next place and put a 1. In hex you simply just change the 9 into A, once you reach 16 you move to the next place and put a 1, and so on.
Also, the places work as exponents in all base systems. In base ten every place is 10 to the (what ever place that number is in)th power. So the ones place would be 10^0, because anything to the 0th power equals 1 (other than zero as that would equal zero). So if it's 8, that would mean:
8 x 10^0. then you simplify to 8 x 1 because 10^0 equals 1.
The tens place would be 10^1, so if you had a 8 it would mean:
8 x 10^1, simplify that to 8 x 10.
The hundreds place would be 10^2, thousands would be 10^3, etc...
So 583 would equal (5 x 10^2) + (8 x 10^1) + (3 x 10^0). Simplify that to
(5 x 100) + (8 x 10) + ( 3 x 1) = 500 + 80 + 3 = 583
In base two instead of the "places" being x^10, it would be x^2, and hex would be x^16. Sounds more complicated than it actually is.