Question 2 a In a 5bit ones complement system the decimal va
Solution
Question 2
a.
5 bit one\'s complement of number = 10000
5 bit number = complement of(10000) = 01111
its decimal value = 23 + 22 + 21 + 20
= 8+4+2+1 = 15
b.
signed and unsigned integers are studied separately because in signed numbers the most significant bit is used for storing sign of the number . But in unsigned numbers there is no need to use the most significant bit to store the sign so the range of numbers stored in unsigned is double than that of signed numbers in the same number of bits.
c.
5 bit one\'s complement of number = 00101
number = complement of 00101 = 11010
11010 = 24 + 23 + 21 = 16+8+2 = 26
d.
sign bit notation uses the most significant bit as sign bit
1 is positive so most significant bit = 0
1 represented in remaining 5 bits = 00001
0 00001
= 000001
