Sunday, 28 November 2021
Aniqua of Hour of Code - Minecraft Adventurer
Thursday, 30 September 2021
Aniqua (PE7B)of Blockly Games - Maze
Aniqua (PE7B) of Algorithm Activities
Algorithm Activities
Activity 1
On the table below, think about where you see ALGORITHMS in everyday life.
What INPUT do you have to put in?
What is the LIST OF INSTRUCTIONS?
What is the OUTPUT that you get out of the end?
You can use pictures to answer the questions as well as words if you want to.
You can add more rows to your tables if you can think of more than 3 algorithms.
INPUT | ALGORITHM | OUTPUT |
Oil, egg, flour ,cocoa powder, vanilla, baking powder, milk, sugar, chocolate chips, | Recipe | Chocolate brownie |
Activity 2 - Writing Algorithms
In this activity, you are going to write algorithms for someone else to follow.
What steps do you need to include to make it really clear and so the other person knows EXACTLY what to do?
Algorithm for moving from the school office to your classroom.
INPUT | ALGORITHM | OUTPUT |
Team Player 1 | School Walk down to the red door by the gate Take 7 steps forward Turnleft and take 20 steps turn to left and take 12 steps and turn right and take 4 | Team Player 2 Following the instructions Room 2 |
When your algorithm does not work and you have to fix it and change it, this is called DEBUGGING.
What changes did you have to make to your algorithms?
List on here the changes that you made.
Why did you have to make these changes?
What did not work?
ALGORITHM |
Write the instructions here. Start Grab potatoes peel Cut them into chips Wash them in a bowl Grab them out put on tea towel to dry Grab pot Fill it up with oil Put chips in Wait till change colour Take them out and onto a plate |
Algorithm for adding 4 even numbers and then finding their average
INPUT | ALGORITHM | OUTPUT |
Team Player 1 Reading out the instructions. | Write the instructions here. Grab potatoes peel Cut them into chips Wash them in a bowl Grab them out put on tea towel to dry Grab pot Fill it up with oil Put chips in Wait till change colour Take them out and onto a plate | Team Player 2 Following the instructions |
When your algorithm does not work and you have to fix it and change it, this is called DEBUGGING.
What changes did you have to make to your algorithms?
List on here the changes that you made.
Why did you have to make these changes?
What did not work?