SV: [Groop] Re: I'm sure we have done this before, but ...
Magnus Lindgren
magnus at netrosys.com
Sun Feb 8 03:28:22 PST 2004
I erred... here is the correct list:
0 = 0
1 = 1
10 = 2
11 = 3
100 = 4
101 = 5
110 = 6
111 = 7
1000 = 8
sorry 'bout that ;-)
-----Ursprungligt meddelande-----
Från: groop-bounces at groo.com [mailto:groop-bounces at groo.com]För Magnus
Lindgren
Skickat: den 8 februari 2004 12:21
Till: groop at groo.com
Ämne: SV: [Groop] Re: I'm sure we have done this before, but ...
Hmm... slight overkill in explanation? And I didn't think it was a reference
to true/false... 10 is binary for 2.
0 = 0
1 = 1
10 = 2
11 = 3
100 = 4
101 = 5
111 = 6
1000 = 7
etc..
/Magnus
PS: we SHOULD know the binary code, one hidden message was written in it...
but misspelled I think? ;-) DS.
-----Ursprungligt meddelande-----
Från: groop-bounces at groo.com [mailto:groop-bounces at groo.com]För E C
Skickat: den 7 februari 2004 07:09
Till: groop at groo.com
Ämne: [Groop] Re: I'm sure we have done this before, but ...
Hi guys/grrls!
A decimal system has ten numbers (0, 1, 2, 3, 4, 5,
6, 7, 8, and 9).
A binary system has two numbers (0 and 1).
A decimal system is based on the number 10. For
example:
1234 = 1x1000 + 2x100 + 3x10 + 4x1
where 1000 is 10 to the 3rd power (10x10x10)
100 is 10 to the 2nd power (10x10)
10 is 10 to the 1st power (10)
1 is 10 to the 0th power (1)
A binary system is based on the number 2. For
example:
1010 in binary = 1x8 + 0x4 + 1x2 + 0x1 in decimal
where 8 is 2 to the 3rd power (2x2x2)
4 is 2 to the 2nd power (2x2)
2 is 2 to the 1st power (2)
1 is 2 to the 0th power (1)
0111 in binary = 0x8 + 1x4 + 1x2 + 1x1 in decimal
There is also binary logic (used in digital logic in
computers). It's sometimes called Boolean logic, named
after George Boole.
A "+" means logical "OR".
0 + 0 = (0 or 0) = 0
0 + 1 = (0 or 1) = 1
1 + 0 = (1 or 0) = 1
1 + 1 = (1 or 1) = 1
A "." means logical "AND".
0 . 0 = (0 and 0) = 0
0 . 1 = (0 and 1) = 0
1 . 0 = (1 and 0) = 0
1 . 1 = (1 and 1) = 1
You can also use "1" and "0" to mean "true" or
"false". "1" means "true". "0" means "false".
Sooo,
"There are only 10 types of programmers,
those who know binary and those who don't."
In this sentence "10" doesn't mean "ten". It's
supposed to mean a "1" and a "0" (binary). It
also references "true" and "false". Either
"you know binary" (similar to a "true") or
"you don't know binary" (similar to a "false").
See you.
Eric
___________________________________________________
Check-out GO.com
GO get your free GO E-Mail account with expanded storage of 6 MB!
http://mail.go.com
_______________________________________________
Groop mailing list
Groop at groo.com
http://mailman.newdream.net/mailman/listinfo.cgi/groop
_______________________________________________
Groop mailing list
Groop at groo.com
http://mailman.newdream.net/mailman/listinfo.cgi/groop
More information about the Groop
mailing list