Home  >  Article  >  The reason why computers are implemented based on binary numbers

The reason why computers are implemented based on binary numbers

尚
Original
2019-12-18 15:30:3330906browse

The reason why computers are implemented based on binary numbers

The reason why the computer is implemented based on binary numbers:

1. It is easy to implement in the circuit: when the computer is working, the circuit is powered on and works. Then there is a voltage at each output.

The voltage level is converted into binary through analog-to-digital conversion:

High level is represented by 1, low level is represented by 0. That is to convert analog circuits into digital circuits. The high level and low level here can be determined artificially. Generally, the low level is below 2.5 volts, and the high level is above 3.2 volts. There are only two binary numbers ("0" and "1"). As long as the circuit can identify low and high, it can represent "0" and "1".

2. It is the easiest to store physically:

(1) Basic principle: Binary is the easiest to store physically, through the orientation of the magnetic poles, the unevenness of the surface, the presence or absence of light, etc. to record.

(2) Specific principle: For a disc that is written only once, the laser beam is focused into a small beam of 1-2um, and the tellurium alloy film on the surface of the disc is melted by the action of heat. A small hole (pit) is formed and a "1" is recorded, and the original position indicates a "0" is recorded.

3. Convenient for addition, subtraction and counting coding. Easy to convert, binary and decimal numbers are easy to convert to each other.

Simplified operation rules:

There are three combinations of sum and product operation of two binary numbers. The operation rules are simple, which is helpful to simplify the internal structure of the computer and improve the operation speed.

Electronic computers can process and process information at extremely high speeds, including data processing and processing, and have great information storage capabilities. Data is represented in the computer by the physical state of the device, using a binary number system. All characters or symbols processed by the computer must also be represented by binary encoding.

The advantages of using binary are that it is easy to express, the operation rules are simple, and it saves equipment. People know that components with two stable states (such as the on and off of transistors, on and off of relays, the level of electrical pulses, etc.) are easy to find, but it is necessary to find components with 10 stable states to correspond Ten numbers in decimal system are difficult

4. It is convenient for logical judgment (yes or no). Suitable for logical operations: Logical algebra is the theoretical basis for logical operations. Binary has only two digits, which coincides with "true" and "false" in logical algebra. The two numbers in binary correspond exactly to "True" and "False" in logical propositions, or "Yes" and "No".

5. Use binary Indicates that the data has the advantages of strong anti-interference ability and high reliability. Because each bit of data has only two states, high and low, when it is subject to a certain degree of interference, it can still be reliably distinguished whether it is high or low.

The above is the detailed content of The reason why computers are implemented based on binary numbers. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn