Arithmetic Operation2
Arithmetic Operation2
Melegrito, PECE
Objective
❖ Calculate and interpret the
application of arithmetic
operation in different number
system
Number different bases
Decimal Binary Octal Hexadecimal
00 0000 00 0
01 0001 01 1
02 0010 02 2
03 0011 03 3
04 0100 04 4
05 0101 05 5
06 0110 06 6
07 0111 07 7
08 1000 10 8
09 1001 11 9
10 1010 12 A
11 1011 13 B
12 1100 14 C
13 1101 15 D
14 1110 16 E
15 1111 17 F
Base Operations
1. Addition:
Example 1:
Add (1230)4 and (23)4
Example 2:
Add (715)8 and (367)8
Base Operations
2. Subtraction:
Example 3:
Subtract (1230)4 to (23)4
Example 4:
Subtract (715)8 to (367)8
Base Operations
3. Multiplication:
Example 5:
Multiply (1230)4 and (23)4
Example 6:
Multiply (715)8 and (367)8
Base Operations
4. Division:
Example 7:
(1230)4 / (23)4
Example 8:
(715)8 / (367)8
Binary Operations
1. Binary Addition:
Example 9:
Add (111)2 and (110)2
Example 10:
Add (1011)2 and (1001)2
Example 11:
Add (110011)2 and (101101)2
Binary Operations
2. Binary Subtraction
Example 12:
(1110)2 - (0101)2
Example 13:
(1000)2 - (0001)2
Example 14:
(1001)2 - (0111)2
Example 15:
(10110)2 - (01011)2
Binary Operations
3. Binary Multiplication
Example 16:
(111)2 x (101)2
Example 17:
(1101)2 x (1100)2
Example 18:
(1111)2 x (0111)2
Binary Operations