Shelbyville, Tennessee · Sunday, November 22, 2009
[SeMissourian.com] Fair ~ 40°F  
High: 55°F ~ Low: 46°F
The Binary Number System
Posted Monday, October 22, 2007, at 5:37 PM
<< Previous | Read comments | Respond | Email link | Next >>

Ever wonder what language a computer speaks? Most of you know that computers store information in the form of ones and zeros, but you may not understand how those ones and zeros can do so much. So here is my explanation of the binary number system.

The first thing that makes understanding binary easier is understanding the number system that we humans use most often. Humans use a base 10 number system (10^0 = 1, 10^1 = 10, 10^2 = 100,...). We have a maximum of ten digits (0-9) to represent a specific number per power of ten. The number 456 breaks down to 4 * 10^2 + 5 * 10^1 + 6 * 10^0. If you add the number 14 to 456 you first add the 4 to the 6 and you then carry the resulting 10 as a 1 added to the 5. Binary is based on powers of 2. (2^0 = 1, 2^1 = 2, 2^2 = 4, 2^3 = 8,...) Numbers are reprented using 1 and 0. So the number 1 in the base 10 number system is represented by the binary number 1 (2^0 = 1). Not much difference there. The number 2 in base 10 is represented in binary with the number 10. No that is not a ten. 10 is broken down as 1 * 2^1 = 2 + 0 * 2^0 = 0. The number 3 in base 10 is represented by the binary number 11. That is 1 * 2^1 + 1 * 2^0. In binary 1 + 1 is 10.

Each place that holds a 1 or a 0 is called a bit. Bits are basically a switch and works just like the light switch in your walls. The switch can either be on (1) or off (0). Computers use logical groups (logical for very specific reasons) of eights. Eight bits make a byte.

You see that one byte can store any number between 0-255 which is one less than the next power of 2 which when talking about a byte would be 2^8. So the number 255 in binary is stored as 11111111 (2^7 + 2^6 + 2^5 + 2^4 + 2^3 + 2^2 + 2^1 + 2^0 = 255).

Computer geeks say that there are 10 types of people in the world, those that understand binary and those that do not. Next time I will talk about how a computer uses bytes to represent everything from your digital snapshots to your bank balance.


Comments
Showing comments in chronological order
[Show most recent comments first]

Way over my head! One of those that do not understand...

-- Posted by Disgusted on Mon, Oct 22, 2007, at 6:30 PM

Yeah, HUH?! Thanks Nathan for explaining this in a way I can attempt to understand.

William

-- Posted by HorseGentler on Tue, Oct 23, 2007, at 6:55 AM

When you learn the inner workings of what we have to come to accept as everyday, it is amazing. Then consider that the computer works through all this as quickly (usually) as it does and you have another wonder of the world.

Then consider the human mind that devised it all and it is hard to believe the theory that we all developed from a single cell in the bottom of a murky ocean.

-- Posted by stevemills on Tue, Oct 23, 2007, at 8:03 AM

Sure!

-- Posted by LauraSFT on Tue, Oct 23, 2007, at 8:59 AM


Respond to this blog

Posting a comment requires free registration. If you already have an account, enter your username and password below. Otherwise, click here to register.

Username:

Password:  (Forgot your password?)

Your comments:
Please be respectful of others and try to stay on topic.


Hot topics
What I Love About Windows 7
(27 ~ 10:02 PM, Nov 16)

Who Has the Answer??
(28 ~ 8:04 AM, Nov 4)

The Side Effects of Increased Communication
(8 ~ 12:50 PM, Oct 20)

The War Expands
(7 ~ 6:26 PM, Oct 16)

Love Thy Neighbour As Thyself
(107 ~ 11:21 PM, Oct 11)