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.
2007-02-19 21:36:09
·
answer #1
·
answered by nra_man58 3
·
0⤊
0⤋
Lol, sounds like a homework question. Because computers only understand 2 things, power on and power off. the binary 0 and 1 represent on and off
2007-02-19 21:34:28
·
answer #2
·
answered by B-rad 3
·
0⤊
0⤋
I guess because transistors can be switched on (1) or off (0)
Binary code is built up of 0's and 1's, easy for compatibility ...
Just an educated guess here, I'm not in IT, or programming or anything :)
2007-02-19 21:36:06
·
answer #3
·
answered by grimsqeaker 2
·
0⤊
0⤋
Because computers don't have fingers. We use a base 10 system of math because we have 10 fingers and that's what evolved. Computers only have on-off switches which is base 2.
2016-03-29 03:59:36
·
answer #4
·
answered by Anonymous
·
0⤊
0⤋
I wish I knew because if I was in charge they would not work that way ever. I think everyone should have one code that is theirs and only theirs and no one else would ever see it or know it just you yourself! It would be better than have 50 different ones that no one remembers! What a terrible system! I hate log ins!
2015-09-01 09:16:56
·
answer #5
·
answered by Susan 1
·
0⤊
0⤋
because this is what computer can "read", the 1 and 0
2007-02-19 21:35:02
·
answer #6
·
answered by Kim Komando 3
·
0⤊
0⤋
because you can store high and low voltage level in cheap, detecting more and more voltage level is much difficult
2007-02-19 21:29:57
·
answer #7
·
answered by Anonymous
·
1⤊
0⤋