Americas
Europe
Q35E
Expert-verified35. What integer does each of the following one’s complement representations of length five represent?
a) 11001 b) 01101 c) 10001 d) 11111
The integer have one’s complement representations of length five represent
(a)
The one’s complement representation starts with a 1, which indicates that the number is negative
Let us remove the first digit:
Then replace every 1 by 0 and every 0 by 1
Determine the corresponding integer in decimal notation:
We also knew that the integer had to be negative, thus the one’s complement then corresponds with the integer
(b)
The one’s complement representation starts with a 0, which indicates that the number is positive
Let us remove the first digit:
Determine the corresponding integer in decimal notation:
We also knew that the integer had to be positive, thus the one’s complement then corresponds with the integer
The one’s complement representation starts with a 1, which indicates that the number is negative
Let us remove the first digit:
Then replace every 1 by 0 and every 0 by 1
Determine the corresponding integer in decimal notation:
We also knew that the integer had to be negative, thus the one’s complement then corresponds with the integer
(c)
The one’s complement representation starts with a 1, which indicates that the number is negative
Let us remove the first digit:
Then replace every 1 by 0 and every 0 by 1
Determine the corresponding integer in decimal notation:
We also knew that the integer had to be negative, thus the one’s complement then corresponds with the integer
94% of StudySmarter users get better grades.
Sign up for free