Skip to main content

Posts

Showing posts from April, 2020

The Writers | Binary Numbers | How to convert decimals into binary digits.

Binary Numbers A binary number is a number expressed in the base-2 numeral system or binary numeral system, which uses only two symbols: typically "0" and "1". The base-2 numeral system is a positional notation with a radix of 2. Radix is basically another term for the base. The decimal digits are 0,1,2,3,4,5,6,7,8,9. Each digit is referred to as a bit. If the total binary digit is 1 then it is called bit. If the total binary digits are 4 then it is called nibble. If the total binary digits are 8 then it is called byte. Conversion of a decimal number into binary form : Let there be a number, say, 42. Now we know that binary digit places are the powers of 2 Now,       2 6        2 5        2 4        2 3         2 2         2 1          2 0                         64     32     16       8        4         2        1                             3.   Now  42 < 64  so subtract 32 from 42 as 42 > 32.      4.   42 - 32  = 10.