Computer Science, asked by negikritika85, 6 days ago

8) Convert decimal value 12 into binary.​

Answers

Answered by anindyaadhikari13
1

\texttt{\textsf{\large{\underline{Answer}:}}}

  • The binary equivalent of the decimal number (12)₁₀ is (1100)₂

\texttt{\textsf{\large{\underline{Solution}:}}}

Conversion is given as follows:

\boxed{\begin{array}{c|c|c}\tt2&\tt12&\\ \tt2&\tt6&\tt0\\ \tt2&\tt3&\tt0\\ \tt2&\tt1&\tt1\\ &\tt0&\tt1\end{array}}

Now, write the remainders obtained from bottom to top:

> (12)₁₀ = (1100)₂ (Answer)

\texttt{\textsf{\large{\underline{Steps To Solve}:}}}

  1. Divide the number by 2.
  2. Write the quotient obtained on the left and remainder on the right.
  3. Repeat the above two processes until the quotient becomes 0.
  4. Now arrange the remainders obtained from bottom to top.
  5. Result obtained will be the binary equivalent of the given decimal number.
Similar questions