flowol the task. objectives to gain an understanding of how the flowol software works to gain an...
Post on 16-Dec-2015
217 Views
Preview:
TRANSCRIPT
FlowolFlowol
The TaskThe Task
ObjectivesObjectives
To gain an understanding of how the To gain an understanding of how the Flowol software worksFlowol software works
ProgressionProgression
Learning the flowchart symbolsLearning the flowchart symbols Completing a flowchart diagramCompleting a flowchart diagram Testing this diagram in FlowolTesting this diagram in Flowol Matching flowcharts to scenariosMatching flowcharts to scenarios Simulating temperature controlSimulating temperature control Using procedures to build an efficient Using procedures to build an efficient
programprogram
START
IS IT WORKING?
STOPSMILE!
YES
DID YOU MESSWITH IT?
NO
NO
HIDE IT
TURN ITOFF
YES
Problem Resolution
Flowchart symbolsFlowchart symbolsStart or stop
Subroutine
Decision
Input or output
Process
START
IS IT WORKING?
STOPSMILE!
YES
DID YOU MESSWITH IT?
NO
NO TURN ITOFF
YES
Problem Resolution
HIDE IT
HIDE IT
Problem SubroutineSub 1(Hide It)
OPEN CUPBOARD
TURN LIGHT ON
CHUCK IT IN
TURN LIGHT OFF
CLOSE CUPBOARD
STOP
A Simple StartA Simple Start
STARTTURN
OUTPUT 1ON
STOP
A Simple StartA Simple Start
STARTTURN
OUTPUT 1ON
TURNOUTPUT 1
OFFSTOP
A Simple StartA Simple Start
START
TURNOUTPUT 1
ON
DELAY 1TURN
OUTPUT 1OFF
DELAY 1
Planning Planning FlowchartsFlowcharts
Start
Is light less than 50? Turn lamp on
Yes
No
Lesson 3 – Activity 2
Planning Planning FlowchartsFlowcharts
Start
Is light less than 50? Turn lamp on
Yes
No
Turn lamp off
Lesson 3 – Activity 2
Planning Planning FlowchartsFlowcharts
Start
Is light less than 50? Turn lamp on
Yes
No
Turn lamp off
Beep
Lesson 3 – Activity 2
Putting Our Plan Into FlowolPutting Our Plan Into Flowol
The MimicThe Mimic
Light LevelLamp
Simulating Temperature Simulating Temperature ControlControl
Room Room temperaturetemperature Electric fireElectric fire Cooling fanCooling fan
Too cold (<10)Too cold (<10) ONON OFFOFF
Just right(10<>20)Just right(10<>20) OFFOFF OFFOFF
Too hot(>20)Too hot(>20) OFFOFF ONON
Matching a Flowchart to a Matching a Flowchart to a ScenarioScenario
When the When the temperaturetemperature in the house drops in the house drops below 10 degrees C, below 10 degrees C, turn on the turn on the firefire, if it , if it goes above, turn it off.goes above, turn it off.
When the When the temperaturetemperature in the house rises in the house rises above 20 degrees C, above 20 degrees C, turn on the turn on the fanfan, if it , if it goes below, turn it off.goes below, turn it off.
Electric Fire / Cooling FanElectric Fire / Cooling Fan
Using procedures to build an Using procedures to build an efficient programefficient program
Design a system to help a person with Design a system to help a person with impaired hearing in his or her own home.impaired hearing in his or her own home.
Consider how you can make sure that the Consider how you can make sure that the person knows that:person knows that:•• someone has rung the door bell;someone has rung the door bell;
•• the smoke alarm is sounding.the smoke alarm is sounding. How will the person know the difference How will the person know the difference
between these two sounds?between these two sounds?
Devise a control program that will use the light bulb to differentiate between the smoke alarm and the doorbell, using subroutines to increase efficiency.
The Main TaskThe Main Task
ObjectivesObjectives
To gain an understanding of how the To gain an understanding of how the Flowol software worksFlowol software works
top related