Computer Science help...2's complement, binary, addition, overflow...etc

BC2210

Beta member
Messages
2
Hey,

Im doing another worksheet and I have about 75% of it done, but these are giving me some problems! :) The book is not very good at explaining things and its an online class! This is just a practice worksheet though...

Can anyone help me with these problems???

  • Convert the number 11 from base 10 to binary

  • Convert from 2's complement to base 10
01111 and 10011​
  • Add the 2's comp together...overflow error?
11111 + 00001 = ?
01111 + 00001 = ?​

  • Convert binary to base 10
100.0101​

  • What is 1/16 in binary?

I will rep anyone who helps out!!!!! Thanks alot! :)
 
1) 11 in base 10 is just the number 11. So, in binary it would be 00001011

2) ...

None of the other questions make any sense, TBH; I know the theory but don't understand the questions so can't answer them, I'm afraid. But you got one of them at least.
 
  • Convert from 2's complement to base 10
01111 and 10011​

01111 = 15
10011 - (-16+3=-13) = -13

I think that's right, I should be more confident really but I'm really tired and a bit rusty with theory.
 
Back
Top Bottom