Assuming Two's complement convert 10010110 to decimal.

To start off with as it is two's compliment (from the first bit being 1) we have to flip all the bits to get 01101001, then we must add 1 to get 01101010. Then we simply convert this to decimal using normal binary to decimal conversion while remembering that as we had to convert it it is a negative. This adds up to 106 so therefore -106.

CW

Related Computing GCSE answers

All answers ▸

How would you convert the Binary number 01001101 into both Hexadecimal and Decimal?


i) Convert 01101001 from binary to denary. ii) Convert 27 from denary to hexadecimal. ii) State one use of hexadecimal in computing and why it is more beneficial in this application that binary.


How do you convert a number from denary to hexadecimal?


What is Control Flow in a Computer Program?