Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Other

Unit 14- Event Driven Programming P1/M1/D1

Rating
2.7
(9)
Sold
15
Pages
8
Uploaded on
17-06-2016
Written in
2015/2016

All written in my own words. Easy to understand and your teachers would think that you done this on your own. 100% gurantee.

Institution
Course

Content preview

qwertyuiopasdfghjklzxcvbnmqwerty
uiopasdfghjklzxcvbnmqwertyuiopasd
fghjklzxcvbnmqwertyuiopasdfghjklzx
cvbnmqwertyuiopasdfghjklzxcvbnmq
Unit 14- Event driven programming.
wertyuiopasdfghjklzxcvbnmqwertyui
P1/M1/D1

opasdfghjklzxcvbnmqwertyuiopasdfg
Learning objective 1- P1/M1/D1



hjklzxcvbnmqwertyuiopasdfghjklzxc
vbnmqwertyuiopasdfghjklzxcvbnmq
wertyuiopasdfghjklzxcvbnmqwertyui
opasdfghjklzxcvbnmqwertyuiopasdfg
hjklzxcvbnmqwertyuiopasdfghjklzxc
vbnmqwertyuiopasdfghjklzxcvbnmq
wertyuiopasdfghjklzxcvbnmqwertyui
opasdfghjklzxcvbnmqwertyuiopasdfg
hjklzxcvbnmrtyuiopasdfghjklzxcvbn
mqwertyuiopasdfghjklzxcvbnmqwert
yuiopasdfghjklzxcvbnmqwertyuiopas

, Unit 14- Event driven programming. P1/M1/D1

P1 – Explain the features of event driven programs.
Introduction: In this task, I will explain all the important features of event driven
programme which are event handlers, trigger function, event e.g. mouse, keyboard, HTML
object, user interface, event loop etc. Event driven programming is an application which can
be controlled by the computer users and it’s a list of event. It can be used for GUI (Graphical
User Interface) and mostly used for different kind of programming. You need different kind
of features in event driven program in order to run the software's.

Event Handler: Event handler is an application which processes a lot of different activity
such as keyboard buttons and mouse operations. There are lots of different examples of
mouse movement such as dragging the “Radio Button” from the toolbox into the “form Box”.
Similarly there is an example of keyboard performs such as typing numbers or words and
also use tools that allows you to type on it.

Trigger function: Trigger is a function in every event programming language. It is used to
choose the event handler that which event you like to run in your programme. Every object in
an event driven programme has own dimension of trigger function. Most of the object in a
programming use one trigger function with only one possible event to run it. There are lots of
different event driven programming area such as VB.Net which include the toolbox in an
application displaying the various objects and it also allow the users to add them onto form.

Service oriented: In an event driven programming, service oriented is a main aspect which
takes only limited computer power capability/power and it helps your computer to not to get
slow down. It performs in the background of your operating system. The main purpose of this
service is to make computer users attentive. There are lot of different programme application
which uses service oriented facility in order to reuse the code fundamental of various apps. It
also removed the service application from a programme network which are using this
application to support their own programme. There are lots of different examples of service
oriented such as when you plug in an USB flash drive or any other external drive, a service is
start performs through the OS to install the important driver so that you can use this external
drive into your computer system and it only performs this way once.

Time driven: In an event driven programming, time driven performs in a limited time on a
timely basis. You can select the time like one hour, one day and so on. It's a pre-set to
achieve a function done on a time trigger. Code execution can be composed through your
computer system clock. An application is split into different action in order to switch on the
programme routinely. Example of time driven is when your computer anti-virus scan the
whole or some files of computer system automatically once in a day, week or month etc.

Events: In programming, events is an application which performs on a user’s instruction.
Every event can be old by the programme. There are lots of event which can produce event
handlers to operate. There are lots of event examples in a computer system such as mouse,
keyboard, HTML object and user interface etc. An example of a mouse event can be double
click, right/left click and moving the mouse arrow. Similarly, keyboard event carry key up/


Page 2

, Unit 14- Event driven programming. P1/M1/D1

down, key press and typing. Another event example is HTML object which allows the user to
clicking on an object and then connected with the webpage link.

Form: In event driven programming language, Form are a most important characteristics
which users can see when they run any programme. A form is an object which holds the
various programming control so that a user will be able to connect lots of programme in
various ways. There are a lot of control and a selection of event that can be used in through
the applications. Examplesof form events are load and activated. Load is an event of a form
which appears when a user use a form object in an event driven programme. This event is
functional for different coding which requires placing variables and values. Another form of
event is activating which develop all the time whenever a form collects the focus. This event
is applicable for updating a form. It also helps the user to return back to form from one form
to another.

User Interface: User interface is an event based on everything in a computer system which a
user does it with Graphical User Interface operating system. It is very crucial because users
will be able to see their activity and efficiently connect with different functions. A user
interface has to be clear. It also allows you to control the software's applications.

Event Loops: In event driven programming language, event loop is a programme which
collects events and process them into computer system to run the programme efficiently. The
purpose of an event loop is to remain checking the user interface so that it can notice if
anything happened such as the typing in a text form. If anything notify at the same time as
event is processing then it will process all the information the trigger task and it will all the
appropriate any event handler to perform a task in a programme. It searches for an event in an
application.

Flexibility: Flexibility is one of the biggest benefit in an event driven programming because
it allows the user to take control over the certain programme in order to place a code and how
to start it. Object can choose an event in order to run a programme. It also shows you the user
activity on a programme whenever user performs in an event programme. It also give you the
good control over the programme and applications. An example of a flexibility is a text box
where you can write text in programming. It's a wide area of application which can be built to
execute various function.

Suitability for graphical interfaces:In an event driven programme, it is very acceptable to
use a graphical user interface because they both are linked together in a way because of a
variety of event programme. There are a lot of event command which are compatible running
with graphical user interface. A graphical user interface shows a lot of different options
which can be performed by using the mouse and keyboard. A user have a variation of control
which a user can get it through the approach of graphical user interface. Each control acts to
event by using the code which is acceptable for each and every even in a programming
language.

Simplicity for programming: It is very simple to write a programme in an event driven
programming language. A user can simply select a button and place it onto a form box from a

Page 3

Written for

Study Level
Examinator
Subject
Unit

Document information

Uploaded on
June 17, 2016
Number of pages
8
Written in
2015/2016
Type
OTHER
Person
Unknown

Subjects

$6.97
Get access to the full document:
Purchased by 15 students

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Reviews from verified buyers

Showing 7 of 9 reviews
5 year ago

4 year ago

6 year ago

very helpful

7 year ago

8 year ago

8 year ago

8 year ago

distinction is awful merit is ok

2.7

9 reviews

5
2
4
1
3
1
2
2
1
3
Trustworthy reviews on Stuvia

All reviews are made by real Stuvia users after verified purchases.

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.
John1998 Pearson
Follow You need to be logged in order to follow users or courses
Sold
59
Member since
9 year
Number of followers
50
Documents
0
Last sold
3 year ago

3.4

25 reviews

5
6
4
9
3
2
2
5
1
3

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 tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right 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 aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions