Best Answer

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.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What do you mean by event driven programming language. explain with an example?
Write your answer...
Still have questions?
magnify glass
Continue Learning about TV & Celebs
Related questions

Why vb is an event driven programming language?

because it is driven by events. as it is a language used in programming, then it only makes sense to say VB is an event driven programming language.

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 does event driven scripting language mean?

event driven programming is based upon the events. its flow is based on the events.

Vbnet is which type of language Service Oriented Architecture Programming Language Object Oriented Programming Language Procedural Oriental Programming Language?

Visual Basic .NET (VB .NET) is an OOP, an Object-Oriented Programming Language. It's paradigm is both OOP and Event-Driven, but that's beside the point.

How is event driven programming different from other programming?

write a note on event driven programming

What is the significance of visual basic programming?

Its a programming language and IDE to develop an "System application or Web applications" developed by Microsoft. for more details go to microsoft official site.. visual basic is an event driven programming language. thus it is used to design forms and some not so advanced animations.

Who are the author the visual basic?

Visual Basic (VB) is the third-generation event-driven programming language and integrated development environment (IDE) from Microsoft for its COM programming model. VB is also considered a relatively easy to learn and use programming language, because of its graphical development features and BASIC heritage.

Disadvantages of event driven programming?

It uses a wimp hcimaking it user friendly.

What is the programming language webpages are created with by authors called?

There are many programming languages used in order to create web pages. The most common and basic of which is Hyper Text Markup language (HTML). For database driven sites, portals, and sites like one of the most common would be

Menu-driven Programming in visual basic?

Develop a menu driven proramming in C++ on Examination System ?

What is trigger functions in event driven programming?

Boring and unneccesary

What is difference between visual programing and event driven programing?

event driven programming is occur when the creat any event means when the user touch the mouse and visual programming does not any oop