Thursday, 2024-05-02, 4:42 PM
Welcome Guest | RSS
Farhan Khalid
Main | Binary - So Simple a Computer Can Do It - Forum | Registration | Login
[ New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
Forum » Hacking & Cracking » Computer Basic secrets » Binary - So Simple a Computer Can Do It
Binary - So Simple a Computer Can Do It
ILIA
Messages: 106
Group: Super Moderators
Title: Great
Reputation: 11
Status: Offline

Awards: 3Loading awards ...
Date:
Saturday,
2009-03-14,
10:59 AM

Message # 1
While every modern computer exchanges and processes information in the ones and zeros of binary, rather than the more cumbersome ten-digit decimal system, the idea isn't a new one.

Australia's aboriginal peoples counted by two, and many tribes of the African bush sent complex messages using drum signals at high and low pitches. Morse code, as well, uses two digits (dots and dashes) to represent the alphabet.

Gottfried Leibniz laid the modern foundation of the movement from decimal to binary as far back as 1666, while John Atanasoff, a physics professor at Iowa State College, had built a prototype binary computer by 1939.

In the meantime, Claude Shannon, Konrad Zuse and George Stibitz had been pondering away in their own corners of the world, musing on the benefits of combining binary numbers with boolean logic.

. . . . . . . . . . . . . . . . . . . .
Today, of course, and in almost every computer built since the 1950s, the binary system has replaced the decimal (which really only came about because it was handy to be able to count on your fingers) and advanced digital computer capabilities to an incredible degree.

Basically, binary simplifies information processing. Because there must always be at least two symbols for a processing system to be able to distinguish significance or purpose, binary is the smallest numbering system that can be used.

The computer's CPU need only recognise two states, on or off, but (with just a touch of Leibniz' mysticism) from this on-off, yes-no state all things flow - in the same way as a switch must always be open or closed, or an electrical flow on or off, a binary digit must always be one or zero.

If switches are then arranged along boolean guidelines, these two simple digits can create circuits capable of performing both logical and mathematical operations.

The reduction of decimal to binary does increase the length of the number, a lot, but this is more than made up for in the increase in speed, memory and utilisation.

Especially utilisation. Remember, computers aren't always dealing with pure numbers or logic. Pictures and sound must first be reduced to numerical equivalents that, in turn, have to be decoded again for the end result.

. . . . . . . . . . . . . . . . . . . .
So, how does it work?

It's not so very difficult, really. Binary numbers use the same rules as decimal - the value of any digit always depends on its position in the whole number.

It all gets down to bases. Decimal uses base ten, so that every time a number moves one position to the left in a figure, it increases by a power of ten (eg. 1, 10, 100 etc). Binary, on the other hand, uses base two, so each move to the left increases the value by a power of two (eg. 1, 2, 4 etc).

To convert from decimal to binary, or the other way around, you need only look at the figure's place in the whole number and add up it's value.


This user has not applied a signature yet.
HTML code to this post
BB-code to this post
Direct link to this post
Forum » Hacking & Cracking » Computer Basic secrets » Binary - So Simple a Computer Can Do It
  • Page 1 of 1
  • 1
Search:

Copyright MyCorp © 2024

Hosted by uCoz