Computer Science, asked by Avinash596, 10 months ago

list the step to convert the decimal number to its equivalent binary system (for both integer and fractional part)​

Answers

Answered by Moazzamjilani
9

Answer:

(A) convert the integral part of decimal to binary equivalent

  1. divide the decimal number by 2 and Store reminders in array.
  2. divide the quotient by 2.
  3. repeat step 2 until we get the question equal to zero. equivalent equivalent binary number would be rivers of all reminders of Step 1.(B). convert the fractional part of decimal to binary to equivalent.(1). multiply the fractional decimal number by 2, (2). integral part of the resultant decimal number will be first digit of the fractional binary number, (3). repeat step 1 using only fractional part of decimal number and then step 2.
Answered by akanshagarwal2005
5

Answer:

Divide the decimal number by 2 and store remainders in array. Divide the quotient by 2. Repeat step 2 until we get the quotient equal to zero. Equivalent binary number would be reverse of all remainders of step 1

Similar questions