Page 31 - Computer Class 06
P. 31
Rules for Binary Subtraction:
1. 0 – 0 = 0 2. 1 – 0 = 1 3. 1 – 1 = 0
4. 0 – 1 = 1 (with a borrow taken from next place i.e. left digit)
Example 1 : (1111) – (1010) = (0101) Example 2 : (1110) – (1101) = (0001)
2 2 2 2 2 2
(0) (10)
1 1 1 1 1 1 1 1
– 1 0 1 0 – 1 1 0 1
0 1 0 1 0 0 0 1
Binary Multiplication
Binary multiplication is similar to decimal multiplication. It is simpler than decimal
multiplication because only 0S and 1S and involved.
Rules for Binary Multiplication:
1. 0 × 0 = 0 2. 0 × 1 = 0 3. 1 × 0 = 0 4. 1 × 1 = 1
Example 1 : (101) × (11) = (1111) 2 Example 2 : (100) × (101) = (10100) 2
2
2
2
2
101 100
×11 ×101
101 100
+101× 000×
1 1 1 1 +100××
1 0 1 0 0
Binary Division
Binary division is similar to decimal division. It is called as the long division procedure.
Rules for Binary Division:
1. 0 / 1 = 0 2. 1 / 1 = 1
3. 0 or 1 is divided by 0 has no meaning as in the decimal system.
Example 1 : (1010) / (10) = (101) Example 2 : (1111) / (101) = (11)
2 2 2 2 2 2
10 1 0 1 0 101 10 1 1 1 1 11
– 1 0 – 1 0 1
0 0 1 0 0 1 0 1
– 1 0 – 1 0 1
0 0
Computer-6 31