Fisk Film on Youtube and Twitter. Fiskyjay on Youtube and Twitter.

Saturday 14 May 2011

I'm a Nerd [01001110 01100101 01110010 01100100]

Yes i am.

Last night i spend at least some time trying to figure out how number and letters (Upper and lower case) correspond to Binary, one's and zero's.

Binary is a set of 1's and 0's in blocks of 8. And each character corresponds to a number, like this;
128 - 64 - 32 - 16 - 8 - 4 - 2 - 1

So from 00000000 to 11111111 there are a total of 256 combinations.

All numbers in binary begin with 0011 then its just a matter of making the number 0 to 9 with the next 4 digits. 1 for example is 0001 and 5 is 0101. So the number 9 would be 00111001. First 0011 to till us its a number, then 1001 8 + 1. for double or triple digit number, or more, you just at another block for each individual number. So 194 would be 00110001 00111001 00110100. first the number 1 then 9 then 4. A large number then, 123,123 would be 00110001 00110010 00110011 00101100 00110001 00110010 00110011. 7 blocks because 00101100 corresponds to the , so a number between 1 million and under 1 billion would have 2 , in it.

Letters, start with 0100 or 0110. 0100 = upper case and 0110 = lower case letters. Using the same system as the number, all you need is to make between 1 and 26.

A = 01000001
a = 01100001
Z = 01011010
z = 01111010

Of course special characters have other combinations, but i haven't looked into them, and i'm not likely to, in fact i'm done thinking about how Binary corresponds to numbers and letters.

No comments:

Post a Comment