Understanding Binary Code - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Hardware > Monitors, Printers and Peripherals
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 07-20-2007, 08:25 PM   #1 (permalink)
Newb Techie
 
Join Date: Jul 2007
Posts: 1
Question 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. I'd really really appreciate it.

...pleeeeeeeease????????????


Jess
__________________

Zebramax is offline  
Old 07-21-2007, 12:16 AM   #2 (permalink)
Lord Techie
 
S0ULphIRE's Avatar
 
Join Date: Mar 2007
Location: Australia
Posts: 8,668
Send a message via MSN to S0ULphIRE
Default 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 sour 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
S0ULphIRE is offline  
Old 07-21-2007, 02:09 AM   #3 (permalink)
True Techie
 
saladfork's Avatar
 
Join Date: Oct 2006
Posts: 181
Default Re: Understanding Binary Code

only 10 kinds of people in the world..
saladfork is offline  
Old 07-21-2007, 02:11 AM   #4 (permalink)
Lord Techie
 
S0ULphIRE's Avatar
 
Join Date: Mar 2007
Location: Australia
Posts: 8,668
Send a message via MSN to S0ULphIRE
Default 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 sour 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
S0ULphIRE is offline  
Old 07-21-2007, 02:11 AM   #5 (permalink)
Retired.
 
peterhuang913's Avatar
 
Join Date: Dec 2005
Location: Los Angeles, California
Posts: 8,076
Send a message via AIM to peterhuang913
Default Re: Understanding Binary Code

Quote:
Originally Posted by saladfork View Post
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 View Post
I need to stop using the internet.
peterhuang913 is offline  
Old 07-21-2007, 02:12 AM   #6 (permalink)
Lord Techie
 
S0ULphIRE's Avatar
 
Join Date: Mar 2007
Location: Australia
Posts: 8,668
Send a message via MSN to S0ULphIRE
Talking Re: Understanding Binary Code

Quote:
Originally Posted by peterhuang913 View Post
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 sour 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
S0ULphIRE is offline  
Old 07-21-2007, 03:58 AM   #7 (permalink)
Private Joker
 
carnageX's Avatar
 
Join Date: Feb 2007
Location: South Dakota
Posts: 24,515
Default 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?
__________________
Laptop: MSI GT70 2OC-059us | i7-4700MQ | 16GB | GTX 770m | 500GB SSD / 750GB HDD | 17.3" | Win10 Pro
Desktop: 4690k | 12GB g.Skill RipJaws | GTX 970 | 520hx | Z87X-UD4H | Corsair Vengeance C70 | Corsair H110 | Acer 25" | Acer 22" | Win10
Mobile: Samsung Galaxy Note 5


If I help you, or you just like what I said, rep me by clicking the under my post
carnageX is offline  
Old 07-21-2007, 07:00 AM   #8 (permalink)
Techie Beyond Description
 
Apokalipse's Avatar
 
Join Date: Jun 2003
Location: Melbourne, Australia
Posts: 14,559
Default 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
__________________
Apokalipse is offline  
Old 07-21-2007, 01:37 PM   #9 (permalink)
Private Joker
 
carnageX's Avatar
 
Join Date: Feb 2007
Location: South Dakota
Posts: 24,515
Default Re: Understanding Binary Code

Ah, ok. Thanks Apok =). That's a more simpler way of doing it than I was taught xD.
__________________
Laptop: MSI GT70 2OC-059us | i7-4700MQ | 16GB | GTX 770m | 500GB SSD / 750GB HDD | 17.3" | Win10 Pro
Desktop: 4690k | 12GB g.Skill RipJaws | GTX 970 | 520hx | Z87X-UD4H | Corsair Vengeance C70 | Corsair H110 | Acer 25" | Acer 22" | Win10
Mobile: Samsung Galaxy Note 5


If I help you, or you just like what I said, rep me by clicking the under my post
carnageX is offline  
Old 07-21-2007, 02:10 PM   #10 (permalink)
True Techie
 
saladfork's Avatar
 
Join Date: Oct 2006
Posts: 181
Default Re: Understanding Binary Code

And hex is the same, except it uses 0-9 and then A-F

Its crazy like.
__________________

saladfork is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Someone take a look at my Java code PnkFloyd27 Programming 4 06-21-2007 08:11 PM
Abit AN8 post code error: 50 - initialize usb. IGeMex Hardware Repairs and Troubleshooting 1 06-05-2007 06:01 PM
windows media error code on vista.... topps999 Microsoft Windows and Software 1 05-28-2007 09:23 PM
NEED help with a Javascript code...(mouseover and stuff) Quintox Web Graphics and Design 7 05-02-2007 06:41 PM
JavaScript Botnet Code Leaked To Internet Osiris Viruses, Spyware and Malware 0 04-02-2007 09:05 PM



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 03:29 PM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.