answersLogoWhite

0

In normal (ie imperative) programming, you define a set of operations to be performed sequentially, from start to finish in one go. In event driven programming, you define a series of "callback" functions, which are then called by whatever runtime system you may be using, in response to the actions of the user, or some other agent. Each function is associated with an action (eg the user pressing a button or clicking an icon), and is called by the system whenever the user performs that action.

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

How is event driven programming different from other programming?

write a note on event driven programming


What are the advantage and disadvantage of organizing an event?

There are many advantages of event driven programming. This type of programming is the simplest and flexible forms of programming languages. This means the programmer has more control over the program when the user does something. Also, making an event driven program is easy. There are only a few disadvantages that come with the event driven programming. Firstly, sometimes classes are not often reusable and are hard to carry out in other applications. It is also very complex and hard to master.


What is the difference between object oriented and event driven language?

hi, the answer for the above mention question goes like this............ The event driven programming in oops language is very conceptual programig concept, in the event driven program, the user can interact with the user interface by making use of mouse or any other means of controls ' But in procedural programming , you cannot interact with the user interface through any of the control, u can only and solely interact with the user interface through codes............ so its is rather difficult for the user to interact the user interface through codes


Explain event driven programming?

Let's say, I were to go create a button object for the program user to click on...; the button text might say. [Click here] ...or,... [Click here to see Help] ...or,... [Click here to sort list] -etc. At first, the button would just simply sit there; and, therefore, the program would take no further action; except to wait for an 'event' to happen. Whenever the user of my program clicks on that button; then, the button 'click event' will get triggered. The users click might trigger off some other code to start working...such as, when the button is clicked on do this/or, do that...display a text message/or, sort list/ -etc. Each seperate object has it's own list of possible events. For example, a button can have the following list of events... button.Focus() button.Click() button.DoubleClick() -etc. so, the program waits to see what type of event is happenning, first ...and, when a certain type of event does, eventually, occur...then, this leads to more programming code getting executed. This is how OOP/Object Oriented Programming languages...programming using objects/objects that are 'event driven' works.


What does it mean that VBA is objcet and event driven programming language?

Object driven programming languages are all based around objects on a 'form' or a 'room'. For example the program will be ran around buttons or other controls. For example if a user clicks a button a set of defined steps will occur. Event driven is similar. For example if this occurs then do this. For example while counter = 1 do .... Basically it is more simple for novice programmers to use and get their head around.


What do you mean by event driven programming language. explain with an example?

A program which is not written in an event-driven language runs line-by-line (typically starting from the `main' function/method), executing each command in sequence. It might interact with the user by asking for input, have `if' statements to adjust its computations, and display output in response.Such programs often use libraries which supply boilerplate logic for this purpose, which is typically based on services provided by the operating system. An event-driven programming languagecomes with such a library. The idea is that sections of code are executed based on what the user does. Nothing will happen without an event causing it to do that action first. For example, you can listen for a mouse click and react to it with click-handling code, or likewise for key presses.However, it is important to note that an event can be made from pretty much anything, and is by no means limited to local user input (such as a mouse click). Other events can be related to network activity, completion of time-consuming tasks started earlier, expiry of a duration of time, or even an arbitrary event condition.The key difference between a "linear" programming approach, where the program spins in a loop continuously testing the various event conditions (and reacting when necessary) and an event-driven programming approach is that the latter uses services provided by the operating system. This allows not only for highly efficient event testing, but also allows the operating system to take care of other tasks while one program is waiting for a certain event to occur.


Are miss America and miss US different?

Yes, because miss America is scholar ship driven and the other is more money driven.


Difference between event driven programming and traditional programming?

In traditional programming, code was run from start to finish and sometimes asked for input along the way. Event driven programming, on the other hand, does nothing until it gets an event, such as a mouse moving or a key being pressed.


What makes you different from other applicant?

I am driven, determined to do the best in my job


How is 'About Love' story by Anton Chekhov different from other love stories?

from the line "a village cat driven by hunger in a kitchen garden"?


What is the basic program for system reset?

System's are reset (restarted) in different ways depending on the platform. The Windows platforms provide several functions that can restart a system, such as the ExitWindowsEx function. On the Mac, on the other hand, you must pass the kAERestart event to the loginwindow process. For other systems, consult the documentation for the system's API.


Event from West Virginia from different time period?

Consider the Mound builders or other Native American history.