Professional Documents
Culture Documents
2. Subtraction
The following rules are fundamentals in performing substraction operations in base 2:
1
Examples: Solve the following binary operations
a) 10101-100
b) 1010-101
c) 1001011-110101
d) 1011-1001
Solutions:
a)
b)
(We borrow a digit worth 2 to proceed
with the subtraction)
c) d)
c) Multiplication
Examples: Solve the following binary operations
a) 1011X11
b) 1011X111
c) 1001X1010
d) 10111X1101
Solutions:
a) b)
c) d)
Hexadecimal operations are performed in much the same way as in base 10, remembering of course
that the results must remain in base 16.
1. Addition
Examples: Perform the following calculations
2
a) 1+9= b) DADA1+DAD= c) FA2+CD=
Solutions:
a) b) c)
2. Subtraction
Examples: Perform the following calculation
3. Multiplication
To handle multiplication, multiply in base 10 and then convert back to base 16
Examples: Perform the following calculations
a) b) c) d)
Solutions:
a) b) c) d)
d) e) f)
d) e) f)
d) e) f)
3
c) AABB+CCC
d) 12FDA+14EDEF
e) 1248996+A1254
Exercise 5: Perform the following calculations in base 16
a) 134AX24B
b) 10013X1324
c) 1540BXAB
d) 8X67
e) AXC
f) AAXCD
Exercise 6: Perform the following calculations in base 16
a) ABCD-ACD
b) A104B-FCD
c) 88408-109
d) 90A9B-FDEF
e) 14589-45A
f) 9698-1245