From childhood, we have been accustomed to things that can not be done in adulthood: to perform any simple actions, politely talk, read, count. Probably, everyone remembers how hard he was given an account in kindergarten or in elementary school, how hard it was to get used to spelling numbers correctly. After some time, we get so used to the fact that everything is based on the decimal number system (account, money, time), that we do not even suspect the existence of other systems (also widely used in various fields of activity, for example, in manufacturing or in the field of IT )
"" . , 0 1. , - .
: , 10 ? , - , , , , . :
1. 2 : , . : 0 - "", 1 - "".
2. () ( ).
3. . , , , , , .
4. . , () .
, . , , 0 1 , , .
, , . , , 2 ( ).
, . , : 1001 1110. , : 1+0=1, 0+1=1, :0+1=1, , , 1+1=10. 10111.
Subtraction in binary notation occurs according to the same principles. Take the same numbers as an example, only now we subtract 1001 from 1110. We also start from the last digit: 0-1 = 1 (minus 1 from the next digit), then also according to the sample. Total 101.
Division and multiplication also have no fundamental differences in comparison with the principles of the decimal form customary to us.
In addition to binary, the computer uses ternary, octal and hexadecimal number systems.