Binary Addition
Lab: Basics of Digitizing Data
Video Runtime: 03:59
In this episode, you need to do a refresher course on how to add binary numbers together. You will need to know the addition process for the remainder of this course.
Study Notes
Steps to add Base-10 numbers
Remember back in grade school when you were taught how to add decimal numbers together using the positional notation? For example, to add 21 + 19 together, you do the following:
- Add the ones column first, e.g. 1 + 9 = 10
- Then you carry the 1, which is in the tens column, while leaving 0, as it represents no ones
- Next you add the tens column, e.g. 1 + 2 + 1 = 4
- Your answer is 40
Steps to add binary numbers
Binary addition is the same process as decimal. To add 7 + 2, you do the following steps:
- Convert the 7 to 0111
- Convert the 2 to 0010
- Add the ones column, e.g. 1 + 0 = 1
- Add the twos column, e.g. 1 + 1 = 10
- Carry the 1 into the fours column and leave the 0 in the twos column
- Add the twos column, e.g. 1 + 1 + 0 = 10
- Carry the 1 into the eights column and leave the 0 in the fours column
- Add the eights column, e.g. 1 + 0 + 0 = 1
- Your answer is 1001
Binary Addition Cheatsheet
Bit Equation | Binary Result | Carry Bit |
---|---|---|
0 + 0 | 00 | 0 |
0 + 1 | 01 | 0 |
1 + 0 | 01 | 0 |
1 + 1 | 10 | 1 |
1 + 1 + 1 | 11 | 1 |
You get WET when you swim. Stay DRY when you code.
Episodes
Total Lab Runtime: 02:59:07
- 1 Lab Introductionfree 03:56
- 2 Electronics “on” and “off” Statesfree 12:11
- 3 Symbol to Represent Quantityfree 14:26
- 4 Number System for Statefree 12:44
- 5 Binary – Combining 1s and 0sfree 19:25
- 6 Improving Binary Representationfree 13:45
- 7 The Age of 16 Bit and Hexadecimalfree 15:15
- 8 Binary Additionfree 03:59
- 9 Negative Integer Data Representation - Part 1free 10:06
- 10 Negative Integer Data Representation - Part 2free 18:42
- 11 Real Number Data Representation - Part 1free 17:12
- 12 Real Number Data Representation - Part 2free 10:18
- 13 Textual Data Representationfree 08:47
- 14 Digital Image Data Representationfree 18:21