Computer Science, asked by vargheseansa974, 6 months ago

convert the decimal number into binary equivalent. 25​

Answers

Answered by anindyaadhikari13
8

Required Answer:-

Given Number:

  • (25)₁₀

To Do:

  • Convert from Decimal to Binary equivalent.

Solution:

\boxed{\begin{array}{c|c|c} \sf{2} & \sf{25} & \sf{} \\ \dfrac{\qquad\qquad}{} & \dfrac{\qquad\qquad}{} & \dfrac{\qquad\qquad}{} \\ \sf{2} & \sf{12} & \sf{1} \\ \dfrac{\qquad\qquad}{} & \dfrac{\qquad\qquad}{} &\dfrac{\qquad\qquad}{}\\ \sf{2} & \sf{6} & \sf{0} \\ \dfrac{\qquad\qquad}{} & \dfrac{\qquad\qquad}{} & \dfrac{\qquad\qquad}{} \\ \sf{2} & \sf{3} & \sf{0} \\ \dfrac{\qquad\qquad}{} & \dfrac{\qquad\qquad}{} & \dfrac{\qquad\qquad}{} \\ \sf{2} & \sf{1} & \sf{1} \\ \dfrac{\qquad\qquad}{} & \dfrac{\qquad\qquad}{} & \dfrac{\qquad\qquad}{} \\ \sf{} & \sf{0} & \sf{1}\end{array}}

Now, write the remainder obtained from bottom to top.

> (11001)₂

Hence,

>> (25)₁₀ = (11001)₂

Steps To Convert:

  1. Divide the number by 2.
  2. Write the quotient and the remainder obtained.
  3. Continue process 1 and 2 till the number becomes 0.
  4. Now, write the remainders so obtained in reverse order. The result obtained is the binary equivalent of the given number.

Answer:

  • (25)₁₀ = (11001)₂
Similar questions