topic badge

12.04 Solve problems using an algorithm

Worksheet
Solve problems using an algorithm
1

Below is a function machine for adding thirteen.

⬚ \longrightarrow +13 \longrightarrow ⬚
a

If we put 26 into the function machine, will we need to carry when we add the units?

b

If we put 18 into the function machine, will we need to carry when we add the units?

c

Describe which type of numbers will involve a carry when put into this function machine.

2

Below is a function machine for adding seventeen.

⬚ \longrightarrow +17 \longrightarrow ⬚
a

If we put 26 into the function machine, will we need to carry when we add the units?

b

If we put 21 into the function machine, will we need to carry when we add the units?

c

Describe which type of numbers will involve a carry when put into this function machine.

3

Below is a function machine for subtracting fourteen.

⬚ \longrightarrow -14 \longrightarrow ⬚
a

If we put 37 into the function machine, will we need to regroup before subtracting the units?

b

If we put 33 into the function machine, will we need to regroup before subtracting the units?

c

Describe which type of numbers will involve regrouping when put into this function machine.

4

Below is an algorithm for adding two 2-digit numbers together:

  1. Add the units.

  2. If the result in step 1 is at least 10, regroup into tens and units.

  3. Add the tens, including any from step 2.

  4. Write the final answer by adding the units to the result of step 3.

a

If we use the algorithm to add 41 and 38, state what will happen at:

i

Step 1

ii

Step 2

iii

Step 3

b

If we use the algorithm to add 38 and 27, state what will happen at:

i

Step 1

ii

Step 2

iii

Step 3

5

Consider the addition algorithm below:

  1. Add the units.

  2. Is the result at least 10?

    • If no - GO TO Step 3.

    • If yes - regroup into tens and units, then GO TO Step 3.

  3. Add the tens.

  4. Is the result at least 100?

    • If no - GO TO Step 5.

    • If yes - regroup into hundreds and tens, then GO TO Step 5.

  5. Write the final answer by adding the hundreds, tens and units.

a

If we use the algorithm to calculate 43 + 56:

i

What two numbers will be added in step 1?

ii

What do we need to do at step 2?

iii

What do we need to do at step 4?

iv

Write the final answer.

b

If we use the algorithm to calculate 37 + 46:

i

What two numbers will be added in step 1?

ii

What do we need to do at step 2?

iii

What do we need to do at step 4?

iv

Write the final answer.

c

If we use the algorithm to calculate 62 + 93:

i

What two numbers will be added in step 1?

ii

What do we need to do at step 2?

iii

What do we need to do at step 4?

iv

Write the final answer.

d

If we use the algorithm to calculate 89 + 65:

i

What do we need to do at step 2?

ii

What do we need to do at step 4?

iii

Write the final answer.

6

Consider the addition algorithm below:

  1. Add the units.

  2. Is the result at least 10?

    • If no - GO TO Step 3.

    • If yes - regroup into tens and units, then GO TO Step 3.

  3. Add the tens.

  4. Is the result at least 100?

    • If no - GO TO Step 5.

    • If yes - regroup into hundreds and tens, then GO TO Step 5.

  5. Add the hundreds.

  6. Is the result at least 1000?

    • If no - GO TO Step 7.

    • If yes - regroup into thousands and hundreds, then GO TO Step 7.

  7. Write the final answer by adding the thousands, hundreds, tens and units.

a

If we use the algorithm to calculate 343 + 415, state what will happen at:

i

Step 2

ii

Step 4

iii

Step 6

iv

Step 7

b

If we use the algorithm to calculate 428 + 367, state what will happen at:

i

Step 2

ii

Step 4

iii

Step 6

iv

Step 7

7

Consider the subtraction algorithm below:

  1. Is the units digit of the first number less than the units digit of the second number?

    • If no - GO TO Step 2.

    • If yes - regroup the tens from the first number to give a ten to the units, then GO TO step 2.

  2. Subtract the units of the second number from the units of the first number.

  3. Subtract the tens of the second number from the remaining tens of the first number.

  4. Write the final answer by adding the results of steps 2 and 3.

a

If we use the algorithm to calculate 97 - 36:

i

What do we need to do at Step 1?

ii

What is the result from Step 2?

iii

What is the result from Step 3?

iv

Write the final answer.

b

If we use the algorithm to calculate 91 - 26:

i

What do we need to do at Step 1?

ii

What is the result from Step 2?

iii

What is the result from Step 3?

iv

Write the final answer.

8

Consider the multiplication algorithm below:

  1. Split the first number into tens and units.

  2. Multiply the second number by the units of the first number.

  3. Multiply the second number by the tens of the first number.

  4. Add the results of step 2 and step 3.

a

If we use the algorithm to calculate 35 \times 6, state the result of:

i

Step 1

ii

Step 2

iii

Step 3

iv

Step 4

b

If we use the algorithm to calculate 12 \times 82, state the result of:

i

Step 1

ii

Step 2

iii

Step 3

iv

Step 4

Sign up to access Worksheet
Get full access to our content with a Mathspace account

What is Mathspace

About Mathspace