Add the binary numbers 100101 and 101001 and convert them to decimal (they are unsigned integers). What are possible issues when adding the numbers?

  • Google+ icon
  • LinkedIn icon

The result is 1001110, which converted is 78. The problem that can occur is overflow, since original number is 6 digit, but result is 7, which may cause to drop the most significant bit and become 14 instead.

The result can be arrived by adding all the numbers together from the right side towards left and carrying over if both of them are 1. Conversion is done from right to left by adding all the numbers starting by 1 multiplying by 2 for every digit count and multiplying by the value itself, so 1*0+1*2*1+ 1*2*2*1+....

Egidijus S. IB Computing tutor, IB Maths tutor

About the author

is an online IB Computing tutor with MyTutor studying at Edinburgh University

Still stuck? Get one-to-one help from a personally interviewed subject specialist.

95% of our customers rate us

Browse tutors

We use cookies to improve your site experience. By continuing to use this website, we'll assume that you're OK with this. Dismiss