In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
Xiaobian to share with you all the information in the computer is what code, I believe most people do not know how, so share this article for your reference, I hope you read this article after a lot of harvest, let us go to understand it together!
All information in a computer is encoded in binary; the number system that computers can recognize directly is binary. Binary coding is used in information transmission, storage and processing inside computers, mainly because of its feasibility, ease, simplicity, reliability and logic.
Binary coding is used for information transmission, storage and processing inside computers.
Reason:
First of all, the binary numbering system uses only two digits. 0 and 1, so any element with two different stable states can be used to represent a bit of a number. In fact, there are many components with two obvious stable states. For example, neon lamp "on" and "off"; switch "on" and "off"; voltage "high" and "low","positive" and "negative"; paper tape "hole" and "no hole","signal" and "no signal" in the circuit, magnetic material south pole and north pole, etc., to name a few. Using these distinct states to represent numbers is easy. Not only that, but more importantly, the two distinct states differ not only quantitatively but qualitatively. 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.
Secondly, the four arithmetic rules of binary counting system are very simple. Moreover, the four operations can finally be reduced to addition and shift, so that the arithmetic circuit in the electronic computer has become very simple. Not only that, the route is simplified and the speed can be improved. This is also something that the decimal system cannot compare with.
The binary operation rules are few, the structure of the computer arithmetic unit can be greatly simplified, the control is correspondingly simple, the data transmission and processing are not easy to make mistakes, and the reliability of the computer is greatly improved.
Third, binary representation of numbers in electronic computers saves equipment. It can be proved theoretically that ternary system saves the most equipment, followed by binary system. But most electronic computers still use binary because it has advantages over other binary systems, including ternary. Moreover, since there are only two symbols " 0" and "1" in binary, Boolean algebra can be used to analyze and synthesize logic circuits in machines. This provides a useful tool for designing electronic computer circuits.[8]
Fourth, binary symbols "1" and "0" correspond to "true" and "false" in logical operations, which is convenient for computers to perform logical operations.
Fifth, binary representation of data has the advantages of strong anti-interference ability and high reliability. Because each data has only two states, high or low, it can still be reliably distinguished when it is disturbed to a certain extent.
The above is "what code is used for all information in the computer" all the contents of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.