Question 2 a In a 5bit ones complement system the decimal va

Question 2 a. In a 5-bit one\'s complement system the decimal value of 10000 is? b. We study signed integers and unsigned integers separately in this class because? c. The binary code 101 in a 5-bit one\'s complement system is equal to the decimal value? d. With a sign bit notation for a 6-bit system, the binary value of decimal 1 is equal to? nnection 2

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

 Question 2 a. In a 5-bit one\'s complement system the decimal value of 10000 is? b. We study signed integers and unsigned integers separately in this class bec

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site