Computer Science, asked by sourabhkhandelwal, 1 year ago

conversion from decimal to binary

Answers

Answered by premkumar17
0
An easy method of converting decimal to binarynumber equivalents is to write down the decimalnumber and to continually divide-by-2 (two) to give a result and a remainder of either a “1” or a “0” until the final result equals zero. So for example. Convert the decimal number 29410into its binary number equivalent.

premkumar17: brainlist ma dal da bhai. plzzzzzz
Answered by nalinsingh
1

           CONVERSION FROM DECIMAL TO BINARY SYSTEM

  • To convert a decimal number, the conversion Base - 10 to base - 2, the number is simply divided by 2 continually to get a result and remainder or either 1 or 0.

        → Take the decimal number and divide it by 2. Now, we get a remainder which is either 0 or 1 and a quotient. The remainder becomes the least significant bit.

        → Now, again divide the remaining quotient part by 2. The new remainder now is the next least significant bit.

        → Again, divide the quotient by 2.

        →  This process is repeated until the quotient becomes 1.

        → We get the binary value from the sequence of remainders including the final quotient 1.

Similar questions