4. Do the following additions (remember that subtractions are additions) of the integers. The
integers are given in decimal. You will first convert them to binary, that is, do the additions in
binary. Hint: Conversion of a positive decimal integer from decimal representation to binary
should be done using the powers of 2 (I did write the powers of two from least significant bit
towards the most significant bit until “enough” powers are shown. Then check if any powers
of 2 exist in the integer and so forth). Conversion of a negative integer should be done by
first ignoring the sign (negative sign) of the number, that is, finding the binary representation
of the number as if it is a positive number. Once you find the binary representation, find the
complement of the number which is the original negative number (I summarized what we
discussed in the class here).
a. 12 – 11
b. – 9 + 5
c. 7 + 5
d. -5 - 8
şunları yapabilecek var mı