Learnify Academy is a tuition centre in Bahrain. Classes are for students in Bahrain only.Tuition classes in Bahrain only

Algorithms · 3 marks

Add two 4-digit numbers using the steps we have written down. Make sure you follow the steps precisely; do not perform any action that is not explicitly mentioned. Are you able to obtain the correct result?

Answer: 4785 + 3692 = 8477, and the steps give it correctly. But the steps fail when a column adds up to exactly 10 (for example 3456 + 2154, where 6 + 4 = 10): the steps only say what to do when the sum is less than 10 or more than 10.

Step-by-step solution

Given: The algorithm: (1) write the numbers one below the other, digits aligned from right to left; (2) add the rightmost digits: if the sum is less than 10, write it and set carry to 0; if the sum is more than 10, write the units digit and set carry to 1; (3) move to the next column on the left and add the two digits and the carry, with the same two rules; (4) repeat Step 3 until there are no more digits on the left; (5) if carry is 1, write 1 to the left of the bottom row.

Idea: Follow each step exactly as written, like a machine would. Then look for a case the steps do not cover: the rules say “less than 10” and “more than 10”, so nothing is said about a sum of exactly 10.

ThHTU110carry4785+36928477
  1. Step 1: write 4785 above 3692 with the units digits in the same column.
  2. Step 2 (units): 5 + 2 = 7. This is less than 10, so write 7 and set carry = 0.½ mark
  3. Step 3 (tens): 8 + 9 + 0 = 17. This is more than 10, so write 7 and set carry = 1.
    Step 4 says repeat Step 3. Hundreds: 7 + 6 + 1 = 14, more than 10, write 4, carry = 1.
    Thousands: 4 + 3 + 1 = 8, less than 10, write 8, carry = 0. No more digits on the left.1 mark
  4. Step 5: carry is 0, so nothing more is written. Result: 8477. Check: 4785 + 3692 = 8477 ✓. So for these numbers the steps give the correct result.½ mark
  5. But try 3456 + 2154. Units: 6 + 4 = 10. The steps say what to do if the sum is less than 10 or more than 10, but not if it equals 10. Following the steps precisely, we are stuck. So the steps do not always give the correct result.1 mark
  6. Fix: change “more than 10” to “10 or more” (equal to or more than 10) in Steps 2 and 3. Then 3456 + 2154 gives 0 (carry 1), 5 + 5 + 1 = 11 (write 1, carry 1), 4 + 1 + 1 = 6, 3 + 2 = 5: 5610 ✓.
Yes for most numbers, e.g. 4785 + 3692 = 8477. But when a column sum is exactly 10 (e.g. 3456 + 2154) the steps give no instruction, so they must be corrected to say “10 or more” instead of “more than 10”.

Check: 4785 + 3692 = 8477 and 3456 + 2154 = 5610 (by calculator or by counting up: 3456 + 2000 = 5456, + 154 = 5610).

Answer to write in the exam

4785 + 3692:

Units: 5 + 2 = 7 (< 10), write 7, carry 0

Tens: 8 + 9 + 0 = 17 (> 10), write 7, carry 1

Hundreds: 7 + 6 + 1 = 14 (> 10), write 4, carry 1

Thousands: 4 + 3 + 1 = 8 (< 10), write 8, carry 0

Result = 8477 ✓ (correct)

But 3456 + 2154: units 6 + 4 = 10, neither “< 10" nor "> 10″, so the steps give no instruction.

∴ Correct result only when no column sum is exactly 10; the rule must read “10 or more”.

Common mistakes that cost marks

  • Doing what we “know” instead of what is written: carrying 1 when a column gives exactly 10, even though the steps never say so. The question asks you to follow the steps precisely.
  • Forgetting to add the carry in Step 3 (for example writing 7 + 6 = 13 in the hundreds column instead of 7 + 6 + 1 = 14).
  • Choosing only numbers with no carries at all, so the test never checks the carry rules.

How this can come in the exam

MCQ (1 mark)

Using the steps exactly as written (carry only when the sum is more than 10), at which column do the steps first give no instruction when adding 2468 + 1352?

  1. Units column
  2. Tens column
  3. Hundreds column
  4. No column; the steps work
Show answer

(A) Units column
Units: 8 + 2 = 10, which is neither less than 10 nor more than 10, so the steps are stuck at once.

Try one yourself

Follow the steps to add 6857 + 2496. Write the carry after each column.

Show answer

Units 7 + 6 = 13: write 3, carry 1. Tens 5 + 9 + 1 = 15: write 5, carry 1. Hundreds 8 + 4 + 1 = 13: write 3, carry 1. Thousands 6 + 2 + 1 = 9: write 9, carry 0. Answer 9353.

More questions like this

All Algorithms questions · All maths questions