Binary addition
Rules
0+0=0 · 0+1=1 · 1+1=10 · 1+1+1=11. When the sum is 2 or 3, write the least significant bit and carry 1 to the next column.
Step-by-step example
1011+0110=10001
1
Column 0 from the right: 1 + 0 + carry 0 = bit 1, new carry 0.
2
Column 1 from the right: 1 + 1 + carry 0 = bit 0, new carry 1.
3
Column 2 from the right: 0 + 1 + carry 1 = bit 0, new carry 1.
4
Column 3 from the right: 1 + 0 + carry 1 = bit 0, new carry 1.
Practice
Progress: 0 / 5 — correct: 0
Calculate: 11101 + 100
Column 0: 1+0+carry 0 → bit 1, carry 0. Column 1: 0+0+carry 0 → bit 0, carry 0. Column 2: 1+1+carry 0 → bit 0, carry 1. Column 3: 1+0+carry 1 → bit 0, carry 1. Column 4: 1+0+carry 1 → bit 0, carry 1.