100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Essay

Unit 14 – Event Driven Programming (P1,P2, M2 and D1).

Rating
-
Sold
2
Pages
11
Uploaded on
06-12-2019
Written in
2019/2020

All my work received distinctions overall in this unit. Please feel free to email me for documentation. Feel free to use my work as guide to complete your own P1,P2, M2 and D1. Listed at the lowest possible price to give you a grade that you need. Included 3,009 words course work assignments with 11 pages full of details and high quality information. Contact me for more information or leave a comment. Thanks for reviewing.

Show more Read less
Institution
Module









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Module

Document information

Uploaded on
December 6, 2019
Number of pages
11
Written in
2019/2020
Type
Essay
Professor(s)
Unknown
Grade
Unknown

Subjects

Content preview

EXPLAIN THE KEY FEATURES OF EVENT DRIVEN
PROGRAMS(P1).
Event driven programming is a programming paradigm in which a flow of
programs is determined by events such as user actions, key presses, mouse click.
Let say for example the reaction of these input from the user such as when user
clicks on the screen or when they move the mouse and responding of these
events is called event driven programming. The ability of responding of these
events is built to most programming languages such java script. These events are
already happening, when the page or application is loading or when users click
somewhere on the screen or move the mouse or typing, every key press is
another event to get respond, that’s all, are events. The way that we can do this is
as a programmer, we need to write some functions, for example, write functions
and saying instead of running this function when page loads, only run it when
users clicks on the button. Also, there is an event handler that waits for events to
happen. In event driven application or programs, there is a main loop that listens
for events then activate call back functions when one those events is detected.
Event driven programs can be written in many programming languages. Event
driven programming is the one of the three paradigms, three programming
paradigms are event driven programming, object-oriented programming and
procedural programming. Events programming is on all computer system such as
operating system like window, Linux or even Mac, they all follow fundamental
properties which is events, for example, the mouse or keyboard triggered the
events and handlers is what happening on screen. When using event driven
programming, the important things to understand is key features of the
programming type. The following are the key features of event driven programs:

Services oriented: This is the one of the key features in event driven
programming that is used to write programs that provides services to the user.
This service oriented helps the user effectively to use the system. If something is
requested, the action is carried out, let say for example; if the user wanted to
save his works that he wrote on Microsoft word, he would click the file icon on
the top left on Microsoft word and click on “save” and then his work will be saved,

, this is what we called service oriented. Event driven programming allows
programmer to create service-oriented programs such as Microsoft excel which
helps employees to enter and save data for organization or company. Example of
services-oriented programs that are used in CCEPS is Human resource system that
provide services to the HR manager to enter employees’ details

Time driven:
This is another key feature in event driven programming that runs code or specific
code on time trigger, this meaning that code executes on specific time set, which
could be once a day or whenever program is launched, this is said to be pre-set
task. For example, Kaspersky internet security program, it checks database
updates at specific time a day, if updates available it updates automatically. This
meaning that the codes is set to be executes at interval or specific time. Also
scanning of antivirus software such Kaspersky, you can set it to scan the device
once a week or once a day, this is time driven which set program to do a certain
task at specific time. Example of time driven application which is used in CCEPS is
E learning system that have codes which executes at specific time set such as time
set for the end of submission of assignments, when students submit the
assignment after time set, there is set of codes executes that respond to the
student that submission is late and provide time of late.

Events: In order event to happen with in a program, they need to be triggered by
either mouse through right click, left click or keyboard by pressing certain keys,
typing something in order to set off events when user interact with an object such
as button which may be clicked. For example, in Human resource system at CCEPS
Events happen when code being assigned to something such as button, for
example when the button is pressed the code is executed.

Events handlers: This is a function that works when a certain event happens.
Events handlers executed in reaction to a certain event that takes place. For
example, when employee want to save records in account and finance system he
should click on control, this could be on a button, when a button is clicked the

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Badaralsalmy Modern college of Business and science
Follow You need to be logged in order to follow users or courses
Sold
71
Member since
6 year
Number of followers
56
Documents
75
Last sold
3 year ago
Complete bundles of BTEC extended diploma in IT or computing

All my assignments which I have uploaded received dinstinction overall since they include everything required as per Pearson qualification policies

3.2

13 reviews

5
4
4
2
3
3
2
0
1
4

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions