Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Complete the following table by converting the integers in decimal to 5- bit sig

ID: 1993462 • Letter: C

Question

Complete the following table by converting the integers in decimal to 5- bit signed numbers in binary. Perform the following conversions:(10011)_2 in 5-bit sign-and-magnitude to 5-bit 1's complement (10011)_2 in 5-bit sign-and-magnitude to 5-bit 2's complement (11000)_2 in 5-bit 1's complement to 5-bit sign-and-magnitude (11000)_2 5-bit 1's complement to 5-bit 2's complement (101110)_2 in 6-bit 2's complement to 6-bit sign-and-magnitude (101110)_2 in 6-bit 2's complement to 6-bit 1 's complement Negate the following 6-bit 2's complement binary numbers: (001010)_2 (110011)_2 (100100)_2 (010001)_2 Consider 4-bit 2's complement representation for signed numbers. What is the largest integer in decimal that can be represented? What is the smallest integer in decimal that can be represented? For n-bit 2's complement representation, what are the largest and smallest integers in decimal that can be represented?

Explanation / Answer

P2)

a)-15

the unsigned binary value of 15=01111

sign and magnitude= (11111)2

1's complement=(10000)2

2's complemnt=(10001)2

b)

-15

the unsigned binary value of 10=01010

sign and magnitude= (11010)2

1's complement=(10101)2

2's complemnt=(10110)2

c)-1

the unsigned binary value of 1=00001

sign and magnitude= (10001)2

1's complement=(11110)2

2's complemnt=(11111)2

d)0

the unsigned binary value of 0=00000

sign and magnitude= (00000)2

1's complement=(00000)2

2's complemnt=(00000)2

e)7

the unsigned binary value of 15=00111

sign and magnitude= (00111)2

1's complement=(00111)2

2's complemnt=(00111)2

p3)

a)10011-->11100(1'scomplemnt)

b)10011-->11101(2'scomplement)

c)11000-->10111(sign magnitude)

d)11000-->11001(2'scomplement)

e)101110-->110010(sign magnitude)

f)101110-->101101(1's complement)