6. Show how you would perform 6 11 via 10s and 2s complements remember you have to compliment
the answer (double complement)
For the 10s complement method, the step is as problem 1.
11 = 10112
6 = 1102
2s complement of 1011 is 0100 + 1 = 0101
0101 + 0110 = 1011
2s complement of 1011 is 0100 + 1 = 0101
Discard the number left number of 0101, we have the result is 101.
Since the discard number is 0, we have a negative result
Therefore, 1102 10112 = -1012
7. Convert 61 to hexadecimal number (hint: first convert it to binary)
61 = 1x25 + 1x24 +1x23 +1x22+0x21 + 1x20
or 61 = 0011 11112
0011 = 316
1111 = D16
Therefore, 61 = 3D16
8. Convert 61 to octal number
61 = 7x81 + 5x80
Therefore, 61 = 758
9. Convert CD16 to binary and then to decimal two parts
C = 1100
D = 1101
Therefore, CD2 = 1100 11012
1100 1101 = 1x27 + 1x26 +0x25 +0x24 +1x23 + 1x22 +0x21 +1x20
=128 + 64 + 8 + 4 + 1
=205
Therefore, CD2 = 205
10. Convert 100110100101101112 to hexadecimal
0001 0011 0100 1011 0111
1
3
4
B
7
Therefore, 100110100101101112 = 134B716