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 ▸

Choose 3 types of malware, describe them and the ways in which they may harm a device.


Describe two's complement.


When data is transmitted over long distances, latency can become an issue. Explain what latency is.


What is Reverse Polish Notation?