What is the decimal equivalent of the following sequence of bits, which represents an unsigned binary integer: 1101001. What is the decimal equivalent if the sequence in bits encodes a two’s complement binary integer.

1101001

Unsigned binary number means every bit represents a power of two. The sum of the powers present in the binary representation gives the number in decimal. 

We start from right to left: 120+021+022+123+024+125+1*26= 105

two’s complement binary integer = signed binary integer, in which the leftmost power is multiplied by (-1).

We start from right to left: 120+021+022+123+024+125+(-1)126=- 23

AP

Related Computing A Level answers

All answers ▸

A binary, 8-bit floating point number 0111 0010 is said to have a 4-bit mantissa and a 4-bit exponent. What is meant by the terms 'mantissa' and 'exponent'? What is the value of this 8-bit binary floating point number?


What is immediate addressing?


What is Reverse Polish Notation?


What is meant by the term spooling? Give an example of when it can be used.