Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

Binary numbers


  • Please log in to reply

#1
Will_00

Will_00

    Member

  • Member
  • PipPipPip
  • 226 posts
Here is an explanation of Binary:

As you may know, instead of using all of the natural numbers, binary uses only 0 and 1's. As quoted by Wikipedia "When the symbols for the first digit are exhausted, the next-higher digit (to the left) is incremented," and then is released to the next 0. Example:

In decimal system numbers run as thus:

001, 002, 003, 004 (As the number on the far right ends it precedes to the next number)
008, 009, 010 (And therefor as the numbers increase it addes a 0 to the end)

In binary it follows as thus:

000, 001, 010, 011 (In binary it runs with virtually the same effect, except it uses only 0's and 1's.)
So the next one would be 100, 101, etc.

Here is the relation between the hexadecimal system:

Hex Dec Binary
0 0 0000
1 1 0001
2 2 0010
3 3 0011

Hex Dec Binary
4 4 0100
5 5 0101
6 6 0110
7 7 0111

Hex Dec Binary
8 8 1000
9 9 1001
A 10 1010
B 11 1011

Hex Dec Binary
C 12 1100
D 13 1101
E 14 1110
F 15 1111

To convert a hexadecimal number to it's decimal equivalent - according to wikipedia - "multiply the decimal equivalent of each hexadecimal digit by the corresponding power of 16 and add the resulting values:"

C0E716 = (12 × 163) + (0 × 162) + (14 × 161) + (7 × 160) = (12 × 4096) + (0 × 256) + (14 × 16) + (7 × 1) = 49,38310


Whilst converting to the octal system it would follow as thus:

Octal Binary
0 000
1 001
2 010
3 011
4 100
5 101
6 110
7 111


This is due because octal uses a radix of 8.

Anything else to add?
  • 0

Advertisements


#2
Chopin

Chopin

    Member 2k

  • Member
  • PipPipPipPipPip
  • 2,639 posts
Yeah. Ask if you can get it pinned in the GeekU underclass library.
  • 0

#3
ScHwErV

ScHwErV

    Member 5k

  • Retired Staff
  • 21,285 posts
  • MVP
Why on earth would this be something we would need in GeekU? We do very little with Binary.
  • 0

#4
sari

sari

    GeekU Admin

  • Community Leader
  • 21,806 posts
  • MVP
To be honest, I'm not sure of the point of this at all. The vast majority of people have no need for this information, and those that might need it (I learned all this in my college programming courses, for example) have probably already been exposed to it. For anyone that might be interested, this information is readily available through a quick search (and probably without the spelling errors).
  • 0

#5
Chopin

Chopin

    Member 2k

  • Member
  • PipPipPipPipPip
  • 2,639 posts
:) Sure, why not :)

Edited by Fredil Yupigo, 25 February 2008 - 05:00 PM.

  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP