
Binary
Moderators: Randy Perry, The Flying Dutchman, Stiltzkin, skezza, Trigger
- The Flying Dutchman
- Moderator
- Posts: 3681
- Joined: Sun Mar 12, 2006 4:03 pm
- Location: Gotham City
Binary
There are only 10 types of people in this world: those who know binary and those who don't. 

-
- Mass Poster
- Posts: 803
- Joined: Mon May 15, 2006 3:44 pm
- Location: ------>
- The Flying Dutchman
- Moderator
- Posts: 3681
- Joined: Sun Mar 12, 2006 4:03 pm
- Location: Gotham City
-
- Mass Poster
- Posts: 1093
- Joined: Fri Feb 16, 2007 12:28 am
- Location: UK
-
- Mass Poster
- Posts: 1093
- Joined: Fri Feb 16, 2007 12:28 am
- Location: UK
-
- Mass Poster
- Posts: 1734
- Joined: Mon Jun 11, 2007 5:49 pm
- Location: UK
- The Flying Dutchman
- Moderator
- Posts: 3681
- Joined: Sun Mar 12, 2006 4:03 pm
- Location: Gotham City
Okay, for those who are the other type of people:frank wrote:what did he say?cableguyxx wrote:1010011110010101
1 (bottem) 0 1 0 0 1 1 1 1 0 0 1 0 1 0 1 (top)cableguyxx wrote:1010011110010101
1 = 1 * 2 ^ 0 = 1 * (1) = 1
0 = 0 * 2 ^ 1 = 0 * 2 = 0
1 = 1 * 2 ^ 2 = 1 * (2 * 2 ) = 4
0 = 0 * 2 ^ 3 = 0 * ( 2 * 2 * 2 ) = 0
1 = 1 * 2 ^ 4 = 1 * ( 2 * 2 * 2 * *2 ) = 16
0 = 0 * 2 ^ 5 = 0 * ( 2 * 2 * 2 * 2 * 2 ) = 0
0 = 0 * 2 ^ 6 = 0 * ( 2 * 2 * 2 * 2 * 2 * 2 ) = 0
1 = 1 * 2 ^ 7 = 1* ( 2 * 2 * 2 * 2 * 2 * 2 * 2 ) = 128
1 = 1 * 2 ^ 8 = 1* ( 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 ) = 256
1 = 1 * 2 ^ 9 = 1* ( 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 ) = 512
1 = 1 * 2 ^ 10 = 1 * ( 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2) = 1024
0 = 0 * 2 ^ 11 = 0 * ( 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 ) = 0
0 = 0 * 2 ^ 12 = 0 * ( 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 ) = 0
1 = 1 * 2 ^ 13 = 1 * ( 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2) = 8192
0 = 0 * 2 ^ 14 = 0 * ( 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 ) = 0
1 = 1 * 2 ^ 15 = 1 * ( 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 ) = 32768
-------------- +
= 42901
In binary: "10 types" means: 1 * ( 2 ^ 1) + 0 * ( 2 ^ 0 ) = 2 + 0 = "2 types" (in decimal)

Here you can convert from Binary to Decimal or the other way: Binary - Decimal Calculator
(it's a bit quicker than my calculation above.....

-
- Mass Poster
- Posts: 803
- Joined: Mon May 15, 2006 3:44 pm
- Location: ------>
I had to learn Binary for my Computer Electronics class I took a few years back, but don't remember much about other than it's 0's & 1's 

Last edited by cableguyxx on Tue Jan 27, 2009 5:14 pm, edited 1 time in total.
Been programming for 11 years and I can't say I recall any binary stuff from my university days. That whole area got a little "heady" for me. I'm a "git r done" kind of programmer. Wouldn't make much of a teacher but I sure enjoy what I do.


Baking the cookies of discontent by the heat of the laundromat vent...
-
- Mass Poster
- Posts: 1734
- Joined: Mon Jun 11, 2007 5:49 pm
- Location: UK
+1cableguyxx wrote: I had to learn Binary for my Computer Electronics class I took a few years back, but don't remember much about other than it's 0's & 1's
i dont really remember anything, in fact its a miracle i got through all that stuff. in the final exam i only understood 1 out of 10 questions the rest may as well have been in Latin

...and yet i got a B
