Algorithms Selection - Activity
Algorithms Selection - Activity
Construct
Ms. Emamdee
Flowchart Symbols
off-page
off-page Start/Stop decision process input/output flow line
connector Start/Stop decision process input/output flow line
connector
Instructions:
Question:
Write an algorithm that will read the time. If the time
is 12:00 output “Lunch time”.
Start
Stop
READ time
time = 12:00?
Start
Select flowchart
symbol
Start
Select flowchart
symbol
Select label for symbol Start
Start
Stop
READ time
time = 12:00?
Start
READ time
Start
Stop
READ time
time = 12:00?
Start
time = 12:00?
Start
time = 12:00?
Start
Select label for symbol
READ time
Stop
READ time
time = 12:00?
Start
time = 12:00?
WRITE “lunch
time”
Start
time = 12:00?
WRITE “lunch
time”
Start
time = 12:00?
WRITE “lunch
time”
Start
Select label for symbol
READ time
Stop
WRITE “lunch
READ time
time”
time = 12:00?
Start
Start
Congratulations!!!
READ time
READ time
Well done
time = 12:00?
time = 12:00?
WRITE “lunch
time”
WRITE “lunch
time”
Stop
Stop
Sorry that’s incorrect at this stage.
Try again