Introduction to Computer Science
Homework - Two’s Complement
Name: ________________
1. Add the following two’s complement numbers and indicate if the answer is valid
a)
+
b)
1000
1010
e)
+
f)
0101
0110
i)
+
+
+
+
+
+
1101
0111
+
0011
1100
l)
1111
1111
+
o)
0110
1001
+
h)
1110
1101
k)
0111
1011
n)
0101
0111
d)
0001
1111
g)
1111
1011
j)
1101
0110
m)
+
+
c)
1001
0101
+
0010
0010
p)
0001
0101
+
1
+
1011
1100