Home  >  Article  >  What is the basic form in which information is stored in a computer?

What is the basic form in which information is stored in a computer?

青灯夜游
青灯夜游Original
2020-07-22 11:10:266218browse

The basic form of information stored in the computer is: binary. All information in a computer is stored inside the computer in "binary" form. Reason: The binary counting system only uses two digits (0 and 1). Any component with two different stable states can be used to represent a certain digit of the number; and the four arithmetic rules of the binary counting system are very simple.

What is the basic form in which information is stored in a computer?

All information in the computer is stored inside the computer in binary form.

Binary refers to a numbering system based on 2 as the base in mathematics and digital circuits. Using 2 as the base means that the system is binary. In this system, it is usually represented by two different symbols: 0 (representing zero) and 1 (representing one).

In digital electronic circuits, the implementation of logic gates directly uses binary, so modern computers and computer-dependent devices all use binary. Each number is called a bit (Bit, short for Binary digit).

The reasons why computers use binary systems

1. The binary counting system only uses two digits: 0 and 1

So, any number with two different Stable state components can be used to represent a certain digit of a number. In fact, there are many components with two obvious stable states.

For example, the "on" and "off" of the neon lamp; the "on" and "off" of the switch; the "high" and "low", "positive" and "negative" of the voltage; the paper tape "with holes" and "without holes", "with signal" and "without signal" in circuits, the south pole and north pole of magnetic materials, and the list goes on.

It is easy to use these distinct states to represent numbers. Not only that, but more importantly, the two completely different states are not only quantitatively different, but also qualitatively different.

This can greatly improve the anti-interference ability of the machine and improve reliability. It is much more difficult to find a simple and reliable device that can represent more than two states.

2. The four arithmetic rules of the binary counting system are very simple.

And the four arithmetic operations can ultimately be reduced to addition operations and shifts. In this way, the arithmetic circuit in the electronic computer has become very simple. Not only that, the line is simplified and the speed can be increased. This is also incomparable to the decimal counting system.

3. Using binary representation of numbers in electronic computers can save equipment.

It can be theoretically proven that the ternary system saves the most equipment, followed by the binary system. However, because the binary system has advantages that other binary systems, including the ternary system, do not have, most electronic computers still use the binary system.

In addition, since only two symbols "0" and "1" are used in binary, Boolean algebra can be used to analyze and synthesize the logical circuits in the machine. This provides a useful tool for designing electronic computer circuits.

For more related knowledge, please visit: PHP Chinese website!

The above is the detailed content of What is the basic form in which information is stored in a computer?. 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