Binary CS Thinking Example 3

Follow the full solution, then compare it with the other examples linked below.

Example 3

medium
Add the binary numbers 101121011_2 and 011020110_2.

Solution

  1. 1
    Step 1: Convert to check: 1011 = 11, 0110 = 6. Sum should be 17.
  2. 2
    Step 2: Binary addition column by column (right to left): 1+0=1, 1+1=10 (write 0 carry 1), 0+1+1=10 (write 0 carry 1), 1+0+1=10. Result: 10001210001_2 = 17.

Answer

10001210001_2
Binary addition follows the same column-by-column method as decimal, but carries occur when the sum exceeds 1 (since only digits 0 and 1 are available).

About Binary

Binary is a base-2 number system that uses only two digits, 0 and 1, to represent all values. Each digit position represents a power of 2, and computers use binary because electronic circuits have exactly two states: on and off.

Learn more about Binary โ†’

More Binary Examples