Download presentation
Published byJessica Cooper Modified over 7 years ago
1
The suitability event driven programs for non-graphical applications
By Christopher pantelli
2
Event driven programming for non graphical applications
Event driven programming for non-graphical applications is something we use in our everyday life's, not just computer systems. In this presentation I will be discussing the different types of event driven programming for non graphical applications and there advantages and disadvantages.
3
FIRE ALARM One example of event driven programming for non-graphical applications is a fire alarm. This is often done by a trigger event. This means once something occurs, an event is triggered. In the case of the fire alarm, once it detects smoke, it will begin to make a loud sound and in some cases release water to help put the fire out. This is one of the mist important products which uses event driven programming.
4
Microwave Another example of event driven programming for non-graphical applications is a microwave. This is because when someone selects the time for how long the food is being cooked for, it will begin a timer event. The timer event will last for as long as the person selects it. Once the timer event has finished, it will stop heating the food and in many cases make’s a sound to declare it’s ready.
5
ALARM CLOCK Alarm clocks are another great example of event-driven programming for non-graphical applications. When you set an alarm, you are creating a timer event to occur in the future. This is done so when the later time is reached, the alarm goes off. In many cases, generating an alarm/sound. Alarms also have events that are managed through clicking a button. This is often the case when people click the snooze button. This is generally done by an onclick event.
6
ALARMS Alarms are another common use of non-graphical event driven programming. Once an alarm has been set, it means that no one can enter a certain area. This is done to stop burglars from entering any unauthorised buildings. If someone does, it will then use a trigger event to activate an alarm and generally automatically send out a notification to the local authorities.
7
ADVANTAGES & DISADVANTAGES TO EVENT DRIVEN PROGRAMMING
As it is a non-graphical, a screen won’t need to be used. This means the concentration can be dedicated strongly on carrying out the specific task. Non-graphical programs respond quickly as they don’t need to waste time processing a display. In many cases, non-graphical applications can avoid human errors. This is because all they have to do is manage a task rather than Unnessory background programs. Disadvantages Unfortunately, non-graphical event driven programming cannot be done for simple programs. Can’t be used for certain projects as the risk of overheating is high.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.