Home > Common Problem > What does the binary representation of 1 to 10 look like?

What does the binary representation of 1 to 10 look like?

angryTom
Release: 2020-03-03 17:11:04
Original
81712 people have browsed it

What does the binary representation of 1 to 10 look like?

What does the binary representation of 1 to 10 look like?

The binary representation of 1 to 10 is as follows:

(1)10=(1)2 // Decimal 1 = Binary 1, the same below
(2)10=(10)2
(3)10=(11)2
(4) 10=(100)2 // Decimal 4 = Binary 100, the same as below
(5)10=(101)2
(6)10=(110)2
(7)10=(111) 2
(8)10=(1000)2
(9)10=(1001)2
(10)10=(1010)2

About decimal system To convert to binary, you can use division by base and remainder method. Taking 35 as an example, as shown in the figure below:

What does the binary representation of 1 to 10 look like?

, the final binary number is 100011.

For more related tutorials, please pay attention to PHP Chinese website!

The above is the detailed content of What does the binary representation of 1 to 10 look like?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
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