Presentation is loading. Please wait.

Presentation is loading. Please wait.

Algorithms. Teacher Lead Activity What is an algorithm? Homework Recap!

Similar presentations


Presentation on theme: "Algorithms. Teacher Lead Activity What is an algorithm? Homework Recap!"— Presentation transcript:

1 Algorithms

2 Teacher Lead Activity What is an algorithm? Homework Recap!

3 Algorithm: - A detailed set of instructions to be followed by the computer system. Bottom Line – Computers are stupid! They will only do what they’re told Homework Recap!

4 Mini Task: - Put the tasks below in the correct order. They’re in the wrong order, can you guess which type of error it’s likely to give? stop wait Turn on hot or cold Is there enough water start Turn off hot and cold taps Is it too hot or too cold Adjust hot and cold taps Algorithms

5 Did you have something similar to this? What can you notice? Algorithms

6 We’re learning to build flow charts using our knowledge of algorithms. Objective

7 When planning out an algorithm, or programming it is important to plan it out. We can do this in more than one way, to start with we’re going to focus on Flow Charts. You’re now going to work with your teacher to create a simple flow chart for making tea and coffee. When planning….

8 Build an algorithm to make a cup of coffee: With your teacher….

9 Task 1 : - Produce a flow chart for making and drinking a glass of blackcurrant squash. This should be done using Word. These are not in any order. Pour measure of juice into glass Fill up the glass to the top with water Take the juice out of the cupboard Drink juice Extension: - Include input / output shapes * Your teacher will explain what these shapes look like. Tasks: -

10 Task 2 : - Produce a flow chart to show the steps for ‘stopping working on a computer and shutting it down’ This should be done using Word. These are not in any order. Quit the program Switch off the machine Finish working on your document Start a new document Check your electronic mail Turn on the computer Select ‘shutdown’ Save your work on a disk Tasks: -

11 Task 3 : - Produce a chart to show the steps to crossing the road safely. This should be done using Word. These are not in any order. This task will require a decision. Cross the road carefully Look left and right Stop at the curb Is the road clear both ways Tasks: -

12 Task 4: - Produce a flow chart to show the steps for making a move in snakes and ladders. This should be done using Word. These are not in any order. This task will require a decision. Climb up ladder Landed on a snakes head? Throw dice At the bottom of a ladder? Move the counter Slide down snake Tasks: -

13 Teacher Lead Activity


Download ppt "Algorithms. Teacher Lead Activity What is an algorithm? Homework Recap!"

Similar presentations


Ads by Google