Presentation is loading. Please wait.

Presentation is loading. Please wait.

LET’S FINISH - TODAY’S OBJECTIVE: Create an algorithm to direct a human “robot” from one part of the room to another. Create an algorithm to direct a human.

Similar presentations


Presentation on theme: "LET’S FINISH - TODAY’S OBJECTIVE: Create an algorithm to direct a human “robot” from one part of the room to another. Create an algorithm to direct a human."— Presentation transcript:

1 LET’S FINISH - TODAY’S OBJECTIVE: Create an algorithm to direct a human “robot” from one part of the room to another. Create an algorithm to direct a human “robot” from one part of the room to another. February 23, 2016

2 WHAT IS A ALGORITHM? An algorithm (pronounced AL-go-rith-um) is a procedure or formula for solving a problem. The steps must be done in a particular order and each of the steps must be used (unless the algorithm says otherwise). Algorithms resemble recipes. Recipes tell you how to accomplish a task by performing a number of steps. For example: to bake a cake the steps are: preheat the oven; mix flour, sugar, and eggs thoroughly; pour into a baking pan; and so forth. Like a cooking recipe, an algorithm tells you to do things. Each thing you do is called a Step. An algorithm produces a final result (aka output) which is the solution to a problem!

3 WALK LIKE A ROBOT. Get into your groups. Get into your groups. One student in the group is the ROBOT. One student in the group is the ROBOT. The group must choose a starting point and an ending point between which the ‘robot’ must navigate. Make sure the path is not direct. The group must choose a starting point and an ending point between which the ‘robot’ must navigate. Make sure the path is not direct. The group must direct the robot from the starting point to the ending point using only 5 commands: The group must direct the robot from the starting point to the ending point using only 5 commands: Turn left 90 degrees. Turn left 90 degrees. Turn right 90 degrees. Turn right 90 degrees. Take a step forward with the left foot. Take a step forward with the left foot. Take a step forward with the right foot. Take a step forward with the right foot. Stop. Stop. The robot can only follow these five commands and not response to other commands. The robot can only follow these five commands and not response to other commands. Be careful not to walk into things! Be careful not to walk into things! You can use loops! You can use loops! Let’s begin: Create an algorithm to direct a human “robot” from one part of the room to another. Let’s begin: Create an algorithm to direct a human “robot” from one part of the room to another.


Download ppt "LET’S FINISH - TODAY’S OBJECTIVE: Create an algorithm to direct a human “robot” from one part of the room to another. Create an algorithm to direct a human."

Similar presentations


Ads by Google