The computer uses binary encoding internally. Any information is represented in the computer by various combinations of "0" and "1". The reasons for using binary are: first, binary devices are physically easy to implement; second, in human thinking, the judgment of the two states of "yes" and "no" is the simplest and most stable.
The operating environment of this tutorial: Windows 7 system, Dell G3 computer.
The computer uses binary coding internally, and data is processed, processed and transmitted in binary form.
Reason:
The information transmission, storage and processing inside the computer all use binary encoding. The main reason is the feasibility and ease of using binary. , simplicity, reliability and logic.
There are only two digits, 0 and 1, in binary coding, which can be easily represented by two-state physical components. That is to say, the computer uses binary for data operations and processing. Technology It is feasible and easy to do.
There are few binary operation rules, the structure of the computer operator can be greatly simplified, the control is correspondingly simple, the transmission and processing of data are not prone to errors, and the working reliability of the computer is greatly improved.
The two numbers 0 and 1 in binary coding can represent the "true" and "false" of logical algebra. Using binary, it is easy to use logical algebra as a tool to conduct circuits. Design to make computers logical.
Easy to convert, binary and decimal numbers are easy to convert to each other.
Using binary to represent 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 disturbed to a certain extent, it can still be reliably distinguished whether it is high or low.
Extended information:
(1) Basic concept of number system
Number system: use a fixed set of numbers A method of representing numerical values using symbols and a unified set of rules is called a number system.
Base: In a number system, only a fixed set of numerical symbols can be used to represent the size of the number. The specific number of symbols used is called the base of the number system, such as the base of the decimal system. is 10.
Bit weight: For multi-digit numbers, the numerical size represented by the number on a certain digit is called the bit weight of the bit. For example, the bit weight of the decimal thousand digit is 10^3.
(2) Number system conversion
Usually, decimal numbers are often used to represent them, but any data in the computer is represented by binary systems. When reading and writing binary numbers, it is easy to find errors and omissions, so in some cases hexadecimal form is often used to represent a binary number.
① Convert decimal numbers into other base numbers - use the "divide by the base and take the remainder in reverse order" method
② Convert other base numbers into decimal numbers - use "accumulate by weight expansion" "Method
③ Interchange between binary numbers and hexadecimal numbers - using the "8421" method
For more related knowledge, please visit the FAQ column !
The above is the detailed content of What technology is used inside a computer. For more information, please follow other related articles on the PHP Chinese website!