My first non-graphical event driven programme is a smoke alarm.
The reason for this is that a Smoke alarm must be very quick and must be able
to detect the smoke fast enough to get people out of the danger. The events
that happen with a smoke alarm is firstly the alarm will notice that there is
smoke in the room. That will then trigger off a sound which will alert people
in the building that there is a fire and they should get out of there. Once the
alarm has went on for a certain time it should then trigger something else in
the smoke alarm which will notify the closest fire department in your local
A second example of a non-graphical event driven programme is a CD
player. The reason why this a non-graphical programme is because the person cannot
see anything via a monitor or a screen. A CD player has a lot of events which
happen. First, the person will click or press on the button on the cd player.
The CD player will stop whatever it is doing, and slowly start to stop the disc
from spinning in the cd player. The next event to occur, a red light will
usually start slowly flashing this will indicate to a user that the disc is
ready to be ejected/taken out.
Thirdly, an example of a non-graphical user programme would be a
car, within a care it shows the fuel wither it being full or empty. Once the
car has used up its fuel and the dial are on empty, a sensor will notice it,
from that a red gas pump icon will appear on the cars dashboard which will
indicate that the car needs to be topped up. I do think this is a good but
small event driven programme due to it making it easier for drivers to notice
when they must refill up the car.
Alarm systems, in houses are great, they have an event where once
the house door is unlocked a loud sound will go off, the only way to stop the
noise is by typing in the code/numbers that will stop it. The reason why this event driven programme is
suitable is because if someone who is not meant to be in the house tries to
break in/ open the door the alarm system will go which will scare that person
away from the house and it will also trigger another event which will alert the
authorities, if the alarm
has been on for a certain amount of time.