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
Answered by Alexandru P. Computing tutor

2269 Views

See similar Computing A Level tutors

Related Computing A Level answers

All answers ▸

Show how the decimal number -183 would be represented as an 8-bit two's complement arithmetic


What is the difference between local and global variables?


Image a graph. In which instances is it more appropriate to use an adjacency list instead of an adjacency matrix?


What are higher order functions in functional programming? How does the 'map' function work and why is it a higher order function?


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

© MyTutorWeb Ltd 2013–2025

Terms & Conditions|Privacy Policy
Cookie Preferences