Document Sample

```					                          Flowol Challenges

Section 1 – Using Inputs and Outputs

1. Use the Lighthouse Mimic, plan and write a flowchart that will check if
it is night time and if it is then turn the light on for 3 seconds and
then turn it off for 2 second. Other wise it will turn the light off.
Repeat this sequence forever.

2. Use the Lighthouse Mimic, plan and write a flowchart that will check if
it is night time and if it is then will turn the horn on for 5 seconds and
then turn it off for 1 seconds. Other wise it will turn the horn off.
Repeat this sequence forever.

3. Use the Lighthouse Mimic, plan and write two flowcharts that will run
at the same time.

 The first should check if it is night time and if it is then will turn
the light on for one second and off for one second. Other wise it
will turn the light off. Repeat this sequence forever.

 The second should check if it is night time and if it is then will turn
the horn on for six second and off for ten second. Other wise it
will turn the horn off. Repeat this sequence forever.

Section 2 – Using Inputs and Outputs

1. Use the Lighthouse Mimic, plan and write a flowchart or flowcharts
that will solve the following problem:

When it is daylight (the sun is lit) nothing happens, but when it is dark
(the sun is not lit) the light should flash every 2 seconds and the horn
should sound for 10 seconds and pause for 5 seconds. When it is
daylight the light and horn should stop.

2. Use the Lighthouse Mimic. What is output 3? Include output 3 in the
flowchart above.

```
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
 views: 7 posted: 6/27/2012 language: pages: 1
How are you planning on using Docstoc?