Today is my first day to discover the article, is also the first article, thank you can see, in the boundless huge crowd, my “first time” unexpectedly gave you haha.

Words do not say, today to tell you about the computer basic binary, often heard, binary files, binary number, but when the binary is really very vague

What exactly is binary? Let’s look at an introduction.

In mathematical and digital circuits, a system of numeration having base 2, which indicates that the system is binary. In this system, two different symbols, 0 (for zero) and 1 (for one), are commonly used. The realization of logic gates in digital electronic circuits directly uses binary, so modern computers and computer-dependent devices use binary. Each number is called a Bit (Binary Digit)

See the guy at the beginning of this article? He was the first person in the world to come up with binary notation. Binary notation, zero and one, no other symbols.

So how do binary numbers represent computer information?

We all know that the smallest unit of data storage in a computer is a “bit,” abbreviated b, also known as a bit, which corresponds to a bit in binary. The e bits of binary numbers are generally 8, 16, 32, 64, etc. That’s a multiple of eight, because the basic unit of information a computer processes, called a byte, contains eight bits of binary.

Okay, cut to the chase and get to the chase

First look at a group of binary data, I believe you can!

Is it just 0’s and 1’s? Why are these numbers arranged the way they are? Is there a pattern?

If you put one into two, one becomes zero

Yes, because there are only zeros and ones. There’s definitely not going to be 2. You can’t even get to this 2, as long as your next step is 2, you go 1. Why go 1?

0
1= 1
2= 10
3= 11
4= 100  
5= 101 
6= 110
7= 111
8= 1000
Copy the code

Before the equal sign can be understood as the number of positions of data, after the equal sign is the output result, and finally constitute a set of binary data. Such as:

0  1  2  3  4  5  6   7   8   9   
Copy the code

Remember to take 1 for every 2. If the first digit increases by 1, the first digit increases by 1 (mathematically, the ones digit equals 2, the tens digit equals 2, the hundreds digit equals 1…….).

Then, according to the previous data conversion results:

0  
1  
2   (2enough2Theta goes up one, and then theta becomes theta0That is10)
33enough2One step forward, you're still left1, that is,11)44enough2One step forward, you're still left2And so did the previous one2Then go on. Now it's22Right, then22The ones place goes forward one becomes itself0The tens place goes one further and becomes itself0The subway is ready1As a result,100)... And so on01  10  11  100  101  110  111What is particularly noticeable, as in the picture above, is that one digit ahead is the previous digit +1How much do I have left? That's the current number minus2
Copy the code

I believe you see here, you are very clear, if you already understand, as a review.

Thank you very much for seeing the end, you can click on the left side of the like, we grow together