In: Computer Science
Solve each of the following problems by translating the values
into two’s complement
notation (using patterns of 5 bits), converting any subtraction
problem to an equivalent
addition problem, and performing that addition. Check your work by
converting your
answer to base 10 notation. (Watch out for overflow.)
a. 5 + 1
b. 12 – 5
c. 5 – 11
d. 12 + 5
e. 5 – 1