Q20 Please show the complete solution and solve all of them
Q.20) Please show the complete solution and solve all of them for a great review. Thanks a lot.
Q.30) Please show the complete solution and solve all of them for a great review. Thanks a lot
2. Determine the decimal value of the following numbers assuming that the numbers are encoded as a unsigned binary, b) 1\'s complement, and c) 2\'s complement. (a) (10110101)2 (b) (4317)8 (c) (D31F 16 3. Convert the following decimal numbers into 12-bit numbers encoded in a) l\'s complement, and b 2\'s com- plement: (a) 584 (b) -789 (c) -57Solution
1.
a. unsigned to decimal : 181
signed to decimal : -75
2\'s compliment to decimal : -75
b. decimal equivalent is 2255
c. decimal equivalent is 54047
