Topic Content:
- Binary Arithmetic Operations – Addition
Basic arithmetic operations of addition, subtraction, multiplication, and division are carried out in their bases similar to base 10.
Addition:
Below are rules of binary addition:
- 1 + 0 = 1
- 0 + 0 = 0
- 0 + 1 = 1
- 1 + 1 = 10
- 1 + 1 + 1 = 11
Rule | A + B | Sum (What we write down) | Carry (What we write carry) |
1. | 0 + 0 | 0 | 0 |
2. | 0 + 1 | 1 | 0 |
3. | 1 + 0 | 1 | 0 |
4. | 1 + 1 | 0 | 1 |
5. | 1 + 1 + 1 | 1 | 1 |
Remember that in base 10, 1 + 1 = 2, But 2 in base 2 is 10. therefore, in binary 1 + 1 = 10.
Worked Example 2.1.1:
Solve the following;
a. Add 111two and 101two
b. Add 1101two + 10001two + 1011two
c. 1.1011two + 10.1001two + 10.01two
d. 1011two + 1101two
e. 10011two + 1101two + 111two
Solution
a. Add 111two and 101two
Answer = 1100two
Explanation:
You are viewing an excerpt of this Topic. Subscribe Now to get Full Access to ALL this Subject's Topics and Quizzes for this Term!
Click on the button "Subscribe Now" below for Full Access!
Subscribe Now
Note: If you have Already Subscribed and you are seeing this message, it means you are logged out. Please Log In using the Login Button Below to Carry on Studying!
Responses