Question: 2s complement system: You are given four signed integers in different number bases A = +(7B)16 B = -(21)8 C = +(103)10 D = +(11001)2

2s complement system: You are given four signed integers in different number bases A = +(7B)16 B = -(21)8 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 2s 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 2s complement system, where n is the value determined in (a).

c) Compute using 2s complement arithmetic C + D. Is this the answer you would expect? Explain.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!