Click here for AnswerPool.com Home page




Google

    AnswerPool.com  Hop To Forum Categories  Science  Hop To Forums  Mathematics    Binary system

Moderators: clarebear
Go
Post
Find
Notify
Tools
Reply
  
  Login/Join 
Diamond Enthusiast

Enthusiast
of the Year



Picture of clarebear
Posted
What is an easy way to learn binary numbers? Are there any tricks or special rules? While I would appreciate a website (I have seen several), I would like someone to write an easy to follow explanation.
 
Posts: 5267 | Location: The Motor City | Registered: 06-03-02Reply With QuoteEdit or Delete MessageReport This Post
Platinum
Enthusiast
Posted Hide Post
Can you clarify what you mean by 'learn'. Do you want to know how to convert binary to decimal & vice-versa? Or how to calculate with binary like a computer does?
 
Posts: 1898 | Location: U.S. | Registered: 06-03-02Reply With QuoteEdit or Delete MessageReport This Post
Diamond Enthusiast

Enthusiast
of the Year



Picture of clarebear
Posted Hide Post
I need to know how to calculate binary in electronic circuitry. I guess that would be the way a computer does. I need to know the values of 0 and 1 for counting. For example what is 110, 010 or 011 etc... How do I figure out the values?
 
Posts: 5267 | Location: The Motor City | Registered: 06-03-02Reply With QuoteEdit or Delete MessageReport This Post
Platinum
Enthusiast
Posted Hide Post
In the decimal system there are ten digits -- 0 through 9 -- and each digit represents a power of 10 -- ones, tens, hundred, thousands, etc. In the binary system (base 2) there are only two digits -- 0 and 1 -- and each represents a power of 2 -- ones, two, fours, eights, sixteens, etc.

So the binary number 1101 represents (taking the digits from right to left): 1 one, 0 twos, 1 four, and 1 eight -- in other words, 1101 binary = 13 decimal. Are you with me so far?

Counting in binary goes like this:
DECIMAL        BINARY
   0             0
   1             1
   2            10
   3            11
   4           100
   5           101
   6           110
   7           111
   8          1000
   9          1001
  10          1010
  11          1011
  12          1100
  13          1101
  14          1110
  15          1111
  16         10000
  17         10001
etc.

Note that, just as decimal powers of ten appear as a one followed by a string of zeroes, in the binary system a one followed by a string of zeroes represents a power of two. For instance, 1000000 = 64 decimal.

In the decimal system, to multiply a number by 10 you append a zero to the right (e.g., 326 x ten = 3260). In the binary system, to multiply a number times 2 you append a zero to the right: 110011 x two = 1100110.

Binary is suited to electronic ciccuitry because with only two digits (0 and 1) you can represent a number with on-off states, usually implemented in hardware with transistors.

Adding two digits together results in: 0+0 = 0; 0+1 = 1+0 = 1; and 1+1 = 10. In the latter case, you can think of it as 1+1=0 with a carry of 1. Multiplying by 2, which I explained means appending a zero to the end of the number, can be thought of as shifting the digits one place to the left. Computer circuits are designed around these rules.

I'll try to search the internet for a good tutorial on the subject.
 
Posts: 1898 | Location: U.S. | Registered: 06-03-02Reply With QuoteEdit or Delete MessageReport This Post
Diamond Enthusiast

Enthusiast
of the Year



Picture of clarebear
Posted Hide Post
Thank You Professor. Smile

I will print out the page and do some practice ones. I used to know how to do this on my hand but I forgot.
 
Posts: 5267 | Location: The Motor City | Registered: 06-03-02Reply With QuoteEdit or Delete MessageReport This Post
Diamond Enthusiast

Enthusiast
of the Year



Picture of clarebear
Posted Hide Post
I got it.

108.64.32.16.8.4.2.1

I put the 0 or 1 in the proper place. Smile
 
Posts: 5267 | Location: The Motor City | Registered: 06-03-02Reply With QuoteEdit or Delete MessageReport This Post
Platinum
Enthusiast
Posted Hide Post
Right, except the 108 should be 128 (64*2).

You show eight binary places, corresponding to an 8-bit byte, interpreted as a positive integer from 0 to 255 (255 = 128+64+32+...1). Bits are often chunked together into groups of 8.

Another way of chunking bits together is in groups of 4, in which case they range from 0000 to 1111, representing 0 to 15. This is, in fact, the base-16 hexadecimal system, where there are sixteen digits: 0, 1, 2, ... 9, A, B, C, D, E, and F.

I found this tutorial from Grinnell College, and this one from North Carolina State. They're not spectacular, but they might help.

Related topics or keywords (use Google or Wikipedia): Boolean algebra; full adder; 2's complement; signed integers; registers; floating point; hexadecimal; nybble; ASCII
 
Posts: 1898 | Location: U.S. | Registered: 06-03-02Reply With QuoteEdit or Delete MessageReport This Post
Diamond Enthusiast

Enthusiast
of the Year



Picture of clarebear
Posted Hide Post
Thank you so much Professor. I REALLY appreciate your help. I'm taking a few mechanic tests this month. I just peeked at the sites and they are spectacular! You're the best. Smile
 
Posts: 5267 | Location: The Motor City | Registered: 06-03-02Reply With QuoteEdit or Delete MessageReport This Post
Platinum
Enthusiast
Posted Hide Post
You're welcome. Smile Binary numbers on a mechanic test! Who'da thunk it?
 
Posts: 1898 | Location: U.S. | Registered: 06-03-02Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

    AnswerPool.com  Hop To Forum Categories  Science  Hop To Forums  Mathematics    Binary system

© 2002-2008 AnswerPool.com



Visit DiscussionPool.com!