wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

How to convert 128 in binary ?


Open in App
Solution

Converting 128 into binary

  1. Divide the number by 2 and if it is completely divisible then the remainder is 0 else 1.This will be LSB(Least Significant Bit).
  2. Make the Quotient obtained as next Dividend
  3. Now divide the Quotient obtained by 2and note the remainder again.
  4. Repeat the Point number 2 and 3 until the new Dividend becomes 0.
  5. When process terminates report answer from MSB (Most Significant Bit) to LSB.

DivisorDividendRemainder21280264023202160280240220211-0-

Hence the binary representation of 128 is 10000000.


flag
Suggest Corrections
thumbs-up
4
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
How Many We Make?
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon