binary operations

binary

Binary is a number system widely used in computing technology . Binary data is a number represented by two digits, 0 and 1. Its base is 2, the carry rule is "every two add one", and the borrow rule is "borrow one as two", which was discovered by Leibniz , a German master of mathematical philosophy in the 18th century . The current computer system basically uses a binary system , and data is mainly stored in the computer 's complement form. The binary in the computer is a very tiny switch, with "on" for 1 and "off" for 0.

binary to decimal conversion

The decimal value represented by the nth digit of binary just follows the law of 2 to the nth power
Fill in the Dafa:
Write out the values ​​they represent first, and then fill in the corresponding positions according to the decimal values.
The method of converting from decimal to binary is the same, as long as you add the corresponding decimal value of the digit whose binary is 1.
      





Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325208287&siteId=291194637