## Presentation on theme: "Flowol The Task."— Presentation transcript:

Objectives To gain an understanding of how the Flowol software works

Progression Learning the flowchart symbols
Completing a flowchart diagram Testing this diagram in Flowol Matching flowcharts to scenarios Simulating temperature control Using procedures to build an efficient program

START STOP Problem Resolution IS IT WORKING? YES NO DID YOU MESS
WITH IT? NO YES TURN IT OFF HIDE IT SMILE! STOP

Flowchart symbols Start or stop Input or output Process Decision
Subroutine

START STOP Problem Resolution IS IT WORKING? YES NO DID YOU MESS
WITH IT? NO YES TURN IT OFF HIDE IT HIDE IT SMILE! STOP

Problem Subroutine OPEN CUPBOARD TURN LIGHT ON CHUCK IT IN TURN LIGHT
Sub 1(Hide It) Problem Subroutine OPEN CUPBOARD TURN LIGHT ON CHUCK IT IN TURN LIGHT OFF CLOSE CUPBOARD STOP

A Simple Start TURN OUTPUT 1 ON START STOP

A Simple Start TURN OUTPUT 1 ON TURN OUTPUT 1 OFF START STOP

A Simple Start START TURN OUTPUT 1 ON DELAY 1 OFF

Planning Flowcharts Start Is light less than 50? Turn lamp on
Yes Is light less than 50? Turn lamp on No Lesson 3 – Activity 2

Planning Flowcharts Start Is light less than 50? Turn lamp on
Yes Is light less than 50? Turn lamp on No Turn lamp off Lesson 3 – Activity 2

Planning Flowcharts Start Is light less than 50? Turn lamp on
Yes Is light less than 50? Turn lamp on No Turn lamp off Lesson 3 – Activity 2 Beep

Putting Our Plan Into Flowol

The Mimic Lamp Light Level

Simulating Temperature Control
Room temperature Electric fire Cooling fan Too cold (<10) ON OFF Just right(10<>20) Too hot(>20)

Matching a Flowchart to a Scenario
When the temperature in the house drops below 10 degrees C, turn on the fire, if it goes above, turn it off. When the temperature in the house rises above 20 degrees C, turn on the fan, if it goes below, turn it off.

Electric Fire / Cooling Fan

Using procedures to build an efficient program
Design a system to help a person with impaired hearing in his or her own home. Consider how you can make sure that the person knows that: • someone has rung the door bell; • the smoke alarm is sounding. How will the person know the difference between these two sounds?

The Main Task Devise a control program that will use the light bulb to differentiate between the smoke alarm and the doorbell, using subroutines to increase efficiency.

Objectives To gain an understanding of how the Flowol software works