Pages

Thursday, 30 September 2021

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, 

Chocolate Brownie

Recipe Fudgy Chocolate Brownies - Spend With Pennies

Chocolate brownie 

How to Make the Best Brownies - Broma Bakery

























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?



Talofa this is my tech task and it's about algorithm and the meaning for algorithm is a process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.