Download presentation
Presentation is loading. Please wait.
Published byLesley Houston Modified over 9 years ago
1
Slide 1 Controlling Sequences of Events Traffic lights Event table
2
Slide 2 Is automation always best? What are the advantages and disadvantages of human and automatic crossing controls outside a school? OR?
3
Slide 3 Advantages of Automatic System It is always there, day and night. It doesn’t need anyone to oversee it. It keeps watch all the time and stays alert. School crossing patrol officers might accidentally be late for work and are only there at certain times of day. A human might be distracted or lose attention momentarily.
4
Slide 4 Advantages of Human System A person can make quick decisions based on what they hear or see. A person would not allow children to cross before the traffic has stopped. A pelican crossing can’t stop cars from going through on red.
5
Slide 5 Objectives an ordered set of instructions is called a sequence of instructions. In this lesson, you will learn how to break a task down into smaller parts how to use a flow chart to represent instructions for carrying out the task.
6
Slide 6 Flowchart symbols Start or stop (sausage for start) Subroutine Decision (diamond for decision) Input or output Process (packet for process)
7
Slide 7 Making coffee Flow chart Start Put coffee in cup Milk? Drink coffee Stop Add milk Boil water Add water Yes No 10 minutes Teacher: Explain that instructions for computers can be summarised in flowcharts, using special symbols and language. Show and talk through slide 2, a simplified flowchart for making a cup of coffee, drawing attention to the symbols for ‘Start’ and ‘Stop’, decision and process boxes, and explaining their purpose. Stress that a computer expects a decision box to have the answer ‘yes’ or ‘no’ and that the outcome of the decision affects exactly which instructions are carried out.
8
Slide 8 Watching TV Start Is programme interesting? Stop Watch programme Switch on TV Yes No Switch off TV
9
Slide 9 This Lesson an ordered set of instructions is called a sequence of instructions. In this lesson, you will learn how to break a task down into smaller parts and how to use a diagram to represent instructions for carrying out the task. Return to lesson objectives
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.