Home > Common Problem > body text

What is 01

藏色散人
Release: 2020-07-03 11:32:45
Original
41477 people have browsed it

01 refers to the computer 01 code, which is essentially binary. The basic working state of the computer processor is controlled by the on and off of the circuit, which corresponds to the binary 0 and 1. Binary There are only 0 and 1, which is easier for the machine to implement.

What is 01

Computer 01 code is essentially binary. The basic working state of the computer processor is controlled by the turning on and off of the circuit, which is exactly the same as the binary 0 Corresponding to 1

Binary only has 0 and 1, which is easy to implement on the machine. For example, power on represents 1, and power off represents 0.

The reasons for using binary are as follows:

(1) Binary numbers are the easiest to implement physically. For example, you can use only high and low levels to represent "1" and "0", or you can use the presence or absence of pulses or the positive and negative polarities of pulses to represent them.

(2) The coding, counting, addition and subtraction rules of binary numbers used to represent binary numbers are simple.

(3) The two symbols "1" and "0" of the binary number exactly correspond to the two values ​​​​of the logical proposition "yes" and "no" or "true" and "false", as Computers provide convenient conditions for realizing logical operations and logical judgments in programs.

The above is the detailed content of What is 01. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
01
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!