|  | |
07-20-2007, 08:25 PM
|
#1 (permalink)
|
Newb Techie Join Date: Jul 2007 Posts: 1
| Understanding Binary Code Hey, i'm new here and i'm having a little trouble. i"m needing to learn the fundamentals of binary code but it seems every link i've found on the topic just leaves me even more stumped than i began. Is there anyone out there who can explain it in simpler terms to help me understand... or who knows a site that may be able to help. I've got to get my head around how computers use the code.  :o I'd really really appreciate it.
...pleeeeeeeease????????????
Jess |
| |
07-21-2007, 12:16 AM
|
#2 (permalink)
|
01001100011011110110110 Join Date: Mar 2007 Location: Perth, Australia Posts: 1,998
| Re: Understanding Binary Code In binary you either have a 1 or a 0. Usually 1 means "on" or "set", and 0 means "clear" or "off". The complicated bit is all the gates and logic circuts in the computer. Different chips in the computer have different gates. i.e the 74LS00 has NAND gates. i cant explain it too well, but when you wire those chips up (connect them to a power source and other chips or switches) they can do different types of jobs/instructions. If a switch, connected to a chip, is off, it is sending 0 volts to the chip. The chip interprets that as a logic 0. which, depending on the chip, will do different things. It might turn the hdd light on, or make it blink once every 1 second. add, TONS of other circuts, and you have a computer! thats how it works in the big picture, but what part do you have trouble with?
__________________ "As a result of all this hardship, dirt, thirst, and wombats, you would expect Australians to be a dour lot. Instead, they are genial, jolly, cheerful, and always willing to share a kind word with a stranger, unless they are an American." -- Douglas Adams Click this if I helped you >>>> <<<< |
| |
07-21-2007, 02:09 AM
|
#3 (permalink)
|
True Techie Join Date: Oct 2006 Posts: 181
| Re: Understanding Binary Code only 10 kinds of people in the world.. |
| |
07-21-2007, 02:11 AM
|
#4 (permalink)
|
01001100011011110110110 Join Date: Mar 2007 Location: Perth, Australia Posts: 1,998
| Re: Understanding Binary Code ...those who understand binary and those who dont. lol, i like that one.
__________________ "As a result of all this hardship, dirt, thirst, and wombats, you would expect Australians to be a dour lot. Instead, they are genial, jolly, cheerful, and always willing to share a kind word with a stranger, unless they are an American." -- Douglas Adams Click this if I helped you >>>> <<<< |
| |
07-21-2007, 02:11 AM
|
#5 (permalink)
|
Retired. Join Date: Dec 2005 Location: Los Angeles, California Posts: 8,090
| Re: Understanding Binary Code Quote:
Originally Posted by saladfork only 10 kinds of people in the world.. | those that understand binary, and those who don't
__________________ 
My computer uses 1.5A-load, .8A-idle, .65A-standby, .05A-turned off on 125V. "The spaces between your fingers were created so that another's could fill them in." Quote:
Originally Posted by Norcent I need to stop using the internet. | |
| |
07-21-2007, 02:12 AM
|
#6 (permalink)
|
01001100011011110110110 Join Date: Mar 2007 Location: Perth, Australia Posts: 1,998
| Re: Understanding Binary Code Quote:
Originally Posted by peterhuang913 those that understand binary, and those who don't | ha, bit late there dude! lol
__________________ "As a result of all this hardship, dirt, thirst, and wombats, you would expect Australians to be a dour lot. Instead, they are genial, jolly, cheerful, and always willing to share a kind word with a stranger, unless they are an American." -- Douglas Adams Click this if I helped you >>>> <<<< |
| |
07-21-2007, 03:58 AM
|
#7 (permalink)
|
Join Date: Feb 2007 Location: South Dakota Posts: 6,062
| Re: Understanding Binary Code Does anybody remember how to convert binary into normal numbers? I knew at one time, but now I've forgotten how? E.g. when you open up the calculator in Windows, type a number in the number field while in Hex (or something like that)/then click the Bin radio button, it converts the number you typed in, into binary? I knew how to do it in my head, but I can't remember now, so do any of you happen to?
__________________ If I help you, or you just like what I said, rep me by clicking the scale under my avatar |
| |
07-21-2007, 07:00 AM
|
#8 (permalink)
|
Join Date: Jun 2003 Location: Melbourne, Australia Posts: 13,739
| Re: Understanding Binary Code Okay, here's a really simple way to explain what binary is:
It's just a number system. That's all.
We normally use base ten, where the digits "10" equals, well... ten.
Binary is a base two system, where the digits "10" equal two.
In our base ten system, we use the digits:
1
2
3
4
5
6
7
8
9
10
etc..
But in binary, the digits are:
0
1
10
11
100
101
110
111
1000
1001
etc...
A really simple way to convert binary numbers to base ten numbers is this:
1 = 1
10 = 2
100 = 4
1000 = 8
10000 = 16
100000 = 32
1000000 = 64
10000000 = 128
Or you can calculate it with
1X = 2^x
where X is the number of zeros after the first '1' in the binary number
Take the number (binary) 100110 for example
it equals (binary) 100000 + 100 + 10
which in decimal, equals 32 + 4 + 2 = 38
__________________ 1 + 1 = 3 if you define 3 as a result of 1 + 1
Last edited by Apokalipse; 07-21-2007 at 07:10 AM.
|
| |
07-21-2007, 01:37 PM
|
#9 (permalink)
|
Join Date: Feb 2007 Location: South Dakota Posts: 6,062
| Re: Understanding Binary Code Ah, ok. Thanks Apok =). That's a more simpler way of doing it than I was taught xD.
__________________ If I help you, or you just like what I said, rep me by clicking the scale under my avatar |
| |
07-21-2007, 02:10 PM
|
#10 (permalink)
|
True Techie Join Date: Oct 2006 Posts: 181
| Re: Understanding Binary Code And hex is the same, except it uses 0-9 and then A-F
Its crazy like. |
| |  | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | |