Wednesday, October 3, 2012

convert decimal to binery

some time ago we have discussed how to convert binary to decimal. Now I will tell you how to convert decimal to binary. check it out


for example : The decimal 345 can be expressed as: 256 + 64 + 16 + 8 + 1
So, the answer is: 101011001


exercise:

  1. 355 = 256 + 64 + 32 + 2 + 1 = 101100011
  2. 480 = 256 + 128 + 64 + 32 = 111100000
  3. 375 = 256 + 64 + 32 + 16 + 4 + 2 + 1 = 101110111
  4. 450 = 256 + 128 + 64 + 2 = 111000010
  5. 425 = 256 + 128 + 32 + 8 + 1 = 110101001
  6. 300 = 256 + 32 + 8 + 4 = 100101100
  7. 400 = 256 + 128 + 16 = 110010000
  8. 410 = 256 + 128 + 16 + 8 + 2 = 110011010
  9. 500 = 256 + 128 + 64 + 32 + 16 + 4 = 111110100
  10. 345 = 256 + 64 + 16 + 8 + 1 = 101011001


0 comments:

Post a Comment