T TestsWorld
Lesson 1 of 8 What an algorithm is ⏱ 5 min

Adding digit by digit: an algorithm

🤔
Think first
Would you rather count 1168 dots or add three columns of digits?
🎯 In this lesson you'll learn
  • ✓Say what an algorithm is
  • ✓Follow the column-addition steps exactly

To add 5 and 7 we could draw 5 dots and 7 dots and count all 12. For 473 + 695 that would be painfully slow!

Instead we line the numbers up by place value and add column by column from the right, carrying when a column reaches 10 or more:

  • Units: 3 + 5 = 8, carry 0.
  • Tens: 7 + 9 + 0 = 16, write 6, carry 1.
  • Hundreds: 4 + 6 + 1 = 11, write 1, carry 1.
  • No digits left and carry is 1, so write 1 at the left: 1168.

An algorithm is a step-by-step procedure that leads to an answer. Written precisely, column addition is:

  1. Write the numbers one below the other, digits aligned from the right.
  2. Add the rightmost digits. If the sum is less than 10, write it and set carry to 0; if it is 10 or more, write its units digit and set carry to 1.
  3. Move one column left; add the two digits and the carry, using the same rule.
  4. Repeat Step 3 until no digits are left.
  5. If carry is 1, write 1 at the far left.
5 + 7: count 12 dots473+6958units: 3 + 5 = 81473+69568tens: 7 + 9 = 161473+6951168hundreds: 4 + 6 + 1 = 11

Tap the diagram to enlarge it

Column addition replaces counting dots with three quick single-digit sums.
📌 Remember these
  1. Align from the right
  2. Carry 1 when a column reaches 10
  3. Don't forget the last carry
✅ Quick check
→