What decimal value does the 8bit binary number 00010001 have

What decimal value does the 8-bit binary number 00010001 have if: a) it is interpreted as an unsigned number? b) it is on a computer using signed-magnitude representation? c) it is on a computer using one’s complement representation? d) it is on a computer using two’s complement representation? e) it is on a computer using excess-127 representation?

Solution

Answer :-

* The 8-bit binary number 00010001 does have the decimal value as 17.

Name of the Representation Representation Value
unsigned-magnitude 10010001
signed-magnitude 00010001
one’s complement 11101110
two’s complement 11101111
What decimal value does the 8-bit binary number 00010001 have if: a) it is interpreted as an unsigned number? b) it is on a computer using signed-magnitude repr

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site