Send the link below via email or IMCopy
Present to your audienceStart remote presentation
- Invited audience members will follow you as you navigate and present
- People invited to a presentation do not need a Prezi account
- This link expires 10 minutes after you close the presentation
- A maximum of 30 users can follow your presentation
- Learn more about this feature in our knowledge base article
Key Features of Event Driven Programming
Transcript of Key Features of Event Driven Programming
Student ID 21068970 Service Oriented Service oriented in event driven programming is a key feature that takes very little of the computers processing power so it does not slow down the computer. Services run in the background of your OS, it has services that make your computer system user friendly. an example of service oriented is when you plug in an external device like a USB flash drive a service is run by the operating system to install the necessary drivers needed for it to be used with the computer system. Time Driven Event Handlers Trigger Functions Events Simplicity Of Programming Ease Of Development The time driven feature in event driven programming runs a specific code on a timely basis like once an hour, once a week or once a month meaning it is pre set to do a task on a time trigger. An example for this feature is the OS update in your computer system can be set to check for updates once a month or the anti-virus programme set to run a virus scan every day. Event handlers in event driven programming are designed to run a specific action when a specific event is triggered. There are numerous event handlers an example of some are the keys in your keyboard when the letter "t" is clicked wile in word document it sends a signal to input that letter, also the "Ctrl + Alt + Del" buttons are clicked together it sends a signal to start up task manager on your system. Also mouse movements trigger a software routine that processes its actions to what the curse is doing on the display. Trigger functions in event driven programming are mechanisms that decide what code to run when a specific event occurs, trigger functions are used to select which event handler to use for the specific event that has occurred. Many devices have trigger functions with a specific event that runs for it. For example automated doors have a sensor that when someone is in proximity of the sensor it sends a signal to open the doors, also at reading college they use chips in ID cards for when the card is touched to a reader by the entrance, it sends a signal to the collages database of whose card it is and if they have access to enter if test is passed the gate is unlocked letting the person in. Mouse events Moving a mouse in certain directions causing cursor to respond to the movements on the display. Scroll button up down and click. Left button click, right button click, double click.
All these triggers have a specific event tied to them.
Keyboard Events Key press, key down, key up. each key has a preset event in the keyboard. key down can be used in a computer game to make your character move continuously. Forms / User Interface Forms are objects like the windows that open when a certain application is activated for example "My Computer" an internet browser, all the windows that could pop up for a specific application.
User interface is important to make the user be able to understand what he sees and able to easily access certain functions. A user interface needs to be clear and user friendly.
External Events External events are when a user specifies an application to run another application. It is simple to programme a application using event driven programming because it is easy to insert ready coded scripts into an existing application because you are able to pause the code while it is running saving you from having to start from the beginning. It is easy to develop using event driven programming because of certain debugging tools and being able to test the application by skipping certain parts of code for example you would like to test if a device will be able to read the data of a debit card and process a transaction. You will be able to skip the part where the card actually gets charged and complete the programs cycle.