PDA

View Full Version : Explanation of Binary Code



MariaDine
26th December 2010, 23:29
01001001001000000111011101101001011100110110100000 10000001100001011011000110110000100000011000110110 11110111010101101100011001000010000001100010011001 01001000000111010001101000011000010111010000100000 01110011011010010110110101110000011011000110010100 00110100001010

MariaDine
26th December 2010, 23:48
http://www.youtube.com/watch?v=pQHX-SjgQvQ&feature=related

MariaDine
27th December 2010, 00:20
In the winter of 1937, John Atanasoff got into his car and drove for a couple of hundred miles out of frustration at his inability to solve the problem of mechanized computation. He was a physics teacher at Iowa State University. He pulled over at a roadhouse in Illinois to get some rest. Then it struck him - A machine can manipulate electrical pulses fairly easily. So if you do computations in base two, rather than the base ten that humans like to use, you could make a machine that would be able to compute.

Basic Explanation
Did you know that everything a computer does is based on ones and zeroes? It's hard to imagine, because you hear people talking about the absolutely gargantuan (huge) numbers that computers "crunch". But all those huge numbers - they're just made up of ones and zeros.

It's kind of like the computer is made up of a bunch of lightswitches, and each lightswitch controls just one lightbulb. On or Off. One or Zero. But if you took all of those lightbulbs together, and said "Let's make each sequence of On-and-Off represent a different number!" Well then, you could get some pretty large numbers.

What do I mean by sequence? Let's say you had two lightswitches. There are four different ways we could flip those switches:

Both Off
First Off, Second On
First On, Second Off
Both On

Binary Code takes each of those combinations and assigns a number to it, like this:

Both Off = 0
First Off, Second On = 1
First On, Second Off = 2
Both On = 3


Intermediate Explanation
Another way of thinking about it is this: let's give each lightbulb a point value. We'll say the first lightbulb is worth two points, and the second one is worth one point. Now take a look at the combinations:

Both Off = 0 + 0 = 0
First Off, Second On = 0 + 1 = 1
First On, Second Off = 2 + 0 = 2
Both On = 2 + 1 = 3

If we added in another lightbulb, we would make it worth twice as many points as the 2 pointer. Then, if all the bulbs were on, the point value would be 4 + 2 + 1 = 7. And if we added in another bulb, we would make it worth 8 points (twice as much as four). Now if they are all turned on, that's worth 8 + 4 + 2 + 1 = 15. As you can see, it's going to take a lot of lightbulbs to make a really big number!

Finally, even though we're giving point values to each of those lightbulbs, when we write them down we still only write them as ones and zeros. One means On, and Zero means Off.

So let's say we had 8 lightbulbs, and they were set up like this:

Off Off On On Off On Off Off.

The point values of those eight bulbs are:

0 + 0 + 32 + 16 + 0 + 4 + 0 + 0 (remember - we only give points if they're turned on!)

And that adds up to 52. So we would say the sequence of bulbs is worth 52. But how do we write it? We write it like this: 00110100

So now we can say 00110100binary = 52.

And that's Binary Code.

MariaDine
27th December 2010, 01:06
...maybe it has to do with this...

The Arecibo message was broadcast into space a single time (not repeated) via frequency modulated radio waves at a ceremony to mark the remodeling of the Arecibo radio telescope on 16 November 1974. It was aimed at the globular star cluster M13 some 25,000 light years away because M13 was a large and close collection of stars that was available in the sky at the time and place of the ceremony.The message consisted of 1679 binary digits, approximately 210 bytes, transmitted at a frequency of 2380 MHz and modulated by shifting the frequency by 10 Hz, with a power of 1000 kW. The "ones" and "zeros" were transmitted by frequency shifting at the rate of 10 bits per second. The total broadcast was less than three minutes.[COLOR="red"]

http://www.matessa.org/~mike/images/arecibo.big.jpg


Arecibo encoded message (binary)

MariaDine
27th December 2010, 01:12
http://www.youtube.com/watch?v=zbLYL7JIj8U

Ross
27th December 2010, 03:31
I have move MariaDine posts here for discussion of Binary code, as the thread they were in was off topic.

Ross

Banshee
27th December 2010, 03:37
Here's a translator

http://home2.paulschou.net/tools/xlate/

.

Ross
27th December 2010, 03:41
It doesn't have to be rocket science. Here's a translator

http://home2.paulschou.net/tools/xlate/

Not exactl "insider information". Its a tool, not unlike a calculator. I wonder if the invetor of the abacus was self important.

Agreed Banshee, However MariaDine persisted posting Binary code explanations and info on a thread 'asking to stop using Binary coding on the forum' for general posting. So...I have given MariaDine her own thread.

Ross

Ross
27th December 2010, 04:45
We write it like this: 00110100

So now we can say 00110100binary = 52.



0011010100110010 = 52

Luke
27th December 2010, 09:02
ahem..

binary 52 = 11 0100 =2^2+2^4+2^5=4+16+32

ASCII is quite another matter, and the 'binary messages" are really ascii character codes: http://web.eecs.utk.edu/~pham/ascii.html

52 in Ascii : there are two 8-bit characters encoded 5 (#53) = 0011 0101 and 2 (#50) = 0011 0010

So, I must say, I find your explanation of "binary" disturbing :)

Anchor
27th December 2010, 09:05
There are only 10 types of people in the universe. Those that understand binary and those that don't!

Rendering forum messages in an 1 and 0 characters is a complete waste of time and bandwidth.

Now excuse me, I need to fix the tape holding my thick framed glasses together......

Bill Ryan
27th December 2010, 09:17
------

Here you are: :)

http://projectavalon.net/ASCII.gif

John Parslow
27th December 2010, 09:53
Good morning John


Rendering forum messages in an 1 and 0 characters is a complete waste of time and bandwidth.

Couldn't agree more - are we going to have an octal thread next ad infinitum? It's OK for those of us who know binary but what is the point of using it on this forum? None, whatsoever IMHO. JP :cool:

Kulapops
27th December 2010, 10:40
I don't know what to add to this thread....

Bill Ryan
27th December 2010, 12:10
I don't know what to add to this thread....

And I don't know what to add to this comment.

Kra
27th December 2010, 12:39
And I don't know what to add to this comment.

:pound: :rofl:

MariaDine
27th December 2010, 15:36
:) Sorry friends....I thought it was a good theme to talk about, for it has a potencial for funny comments... :) .......my mistake !
Namasté



http://media.discovernikkei.org/articles/3116/journal_entry_10110011101_god.jpg

Elandiel BernElve
29th December 2010, 13:42
And then there was the "Ghost in the Machine"

MariaDine
29th December 2010, 15:16
:) Indeed ! ...well, if you liked that one, you must take a look at this . From a neurologist who has been studying the brain, emocional intelligence, etc (he has many books )
Namasté


«Decarte's Error»
http://books.google.com/books?id=GzahPwAACAAJ&dq=ant%C3%B3nio+R+dam%C3%A1sio&hl=pt-pt&ei=ZE8bTcSfEI_GswbOzd3vDA&sa=X&oi=book_result&ct=result&resnum=1&ved=0CCgQ6AEwAA

Agape
29th December 2010, 16:11
A little question : Do you consider the code created or discovered , recognized or described , evolved or preceding your existence ?

Is it time-less and non local, transcendental or imminent , both and neither .


:becky:

MariaDine
30th December 2010, 00:37
Dear Agape, I am not the one who can answer your question.
Namasté
MD

MiguelQ
30th December 2010, 03:09
coudl there be a nother tecnology beyond zeros and ones?
because that sounds a little "low tech " dont it?
maybe if we could have
0 and 0.5 and then 1.. data could be encoded in half.. with double speeds perhaps (of computing of course)

Agape
31st December 2010, 01:41
Dear Agape, I am not the one who can answer your question.
Namasté
MD

Imagine orderly universe . Many times more complicated than binary code and existing indisturbed by waves of time rolling over the universe ..

A universe of numbers, in planes of spacetime rolled to one another in various shapes.


Like an abstract matrix of the same universe . Consisting of information .

What is an information again ?

It's an abstract, it is the correct X in the correct Y. Read why. For every question there also exists and answer and the answer is part of the wider universe .


The information grid is accessible with or without effort..



:hand: