State whether the following tasks can be completed by following an algorithm:
Falling asleep
Making friends
Cooking a meal from a recipe book
Building a toy out of Lego
Alana has the following algorithm for wrapping a present but it is in the wrong order:
Stick paper down with sticky tape
Choose wrapping paper
Decorate with a bow
Wrap the paper around the present
What should be the first step?
What would be the last step?
The following instructions are in the wrong order:
Turn off the tap
Rinse the soap away with water
Rub your hands
Put soap on your hands
Turn on the tap
What should be the second step?
What would be the last step?
What could the following algorithm be for?
Step | Instruction |
---|---|
1 | Weigh out all the ingredients |
2 | Mix butter, sugar and eggs together |
3 | Stir in the flour |
4 | Bake in the oven |
For each of the following algorithms, work out the output at each step and complete the table:
Step | Instruction | Output |
---|---|---|
1 | \text{Start with the number }100 | |
2 | \text{Subtract }22\text{ from }100 | |
3 | \text{Round the result to the nearest ten} |
Step | Instruction | Output |
---|---|---|
1 | \text{Start with the number }70 | |
2 | \text{Double }70 | |
3 | \text{Add }21 |
Step | Instruction | Output |
---|---|---|
1 | \text{Start with the number }16 | |
2 | \text{Add }5\text{ to }16 | |
3 | \text{Double the result } |
Step | Instruction | Output |
---|---|---|
1 | \text{Start with the number }2 | |
2 | \text{Add }2\text{ to }2 | |
3 | \text{Round your answer to the nearest ten } |
Step | Instruction | Output |
---|---|---|
1 | \text{Start with the number }36 | |
2 | \text{Halve }36 | |
3 | \text{Add }3\text{ to the result} |
Step | Instruction | Output |
---|---|---|
1 | \text{Start with the number }12 | |
2 | \text{Multiply }12\text{ by }10 | |
3 | \text{Add }5 \text{ to the result} |
Step | Instruction | Output |
---|---|---|
1 | \text{Start with the number }6 | |
2 | \text{Subtract }1\text{ from }6 | |
3 | \text{Double the result } |
Step | Instruction | Output |
---|---|---|
1 | \text{Start with the number }80 | |
2 | \text{Add }19\text{ to }80 | |
3 | \text{Round the result to the nearest ten} |