Decimal to Binary Ka Question solve (164)2

Computer Science

ScanSolve AI Answer

Answer

10100100210100100_2

Step-by-step solution

8 steps

To convert the decimal number 164 to binary, we use the method of repeated division by 2.

  1. Divide 164 by 2 and record the remainder.

    164÷2=82164 \div 2 = 82 remainder 0

  2. Divide the quotient (82) by 2 and record the remainder.

    82÷2=4182 \div 2 = 41 remainder 0

  3. Divide the quotient (41) by 2 and record the remainder.

    41÷2=2041 \div 2 = 20 remainder 1

  4. Divide the quotient (20) by 2 and record the remainder.

    20÷2=1020 \div 2 = 10 remainder 0

  5. Divide the quotient (10) by 2 and record the remainder.

    10÷2=510 \div 2 = 5 remainder 0

  6. Divide the quotient (5) by 2 and record the remainder.

    5÷2=25 \div 2 = 2 remainder 1

  7. Divide the quotient (2) by 2 and record the remainder.

    2÷2=12 \div 2 = 1 remainder 0

  8. Divide the quotient (1) by 2 and record the remainder.

    1÷2=01 \div 2 = 0 remainder 1

    To get the binary representation, read the remainders from bottom to top.
    The remainders are 1, 0, 1, 0, 0, 1, 0, 0.

    So, the binary representation of decimal 164 is 10100100210100100_2.

    16410=101001002164_{10} = 10100100_2
Was this helpful?

Try one yourself

A new problem that tests the same skill.

Still stuck on this one?

Ask a follow-up, and the answer starts from this question.

Got a different question?Ask your own question
Handwritten step-by-step solution preview

Handwritten Step-by-Step Solution

Get this as a handwritten image on WhatsApp — like a tutor wrote it for you.

Try on WhatsApp