Question: 2's complement system: You are given four signed integers in different number bases A = +(7B)_16 B = -(21)_B C = +(103)_10 D = +(11001)_2

2's complement system: You are given four signed integers in different number bases A = +(7B)_16 B = -(21)_B C = +(103)_10 D = +(11001)_2 a) What is the value n, the smallest number of bits needed to represent all of these numbers in 2's complement representation? In general, using the value found for n, what is the largest and smallest number that can be represented? b) Give the n-bit representations of the four numbers in the 2's complement system, where n is the value determined in (a). c) Compute using 2's complement arithmetic C + D. Is this the answer you would expect? Explain
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
