Anonymous

How Event-driven Programming Differs From Procedural Programming?

3

3 Answers

Florio Potter Profile
Florio Potter answered

Procedure-driven programming, which you can think of as traditional programming, defines the programming process as the development of procedures that explicitly direct the flow of data and control.

Event-driven programming defines the programming process as the development of procedures that respond to the flow of data and control as directed by the user, program, or operating system.

These programming models differ in flow of execution and structure. In addition, each model works best with a particular programming environment. Get Help in all computer science programming  language at CodeAvail- Online Computer Science Assignment
help

Anonymous Profile
Anonymous answered
Event driven programming is  a programming which is done on the event . While a data base programming is related to the data of the database
Summbal Raheem Profile
Summbal Raheem answered
In procedural programming, Programer create his own routine for specific purpose and also he himself have to check the events and decide what to do. But in event driven programing events are traped by the environment of the language and programmer just have to use them as he wants.
thanked the writer.
Anonymous
Anonymous commented
Not true. Event driven programming has nothing to do with procedural or OOP style. Point of event driven programming is, that your program enters a main , so called "event loop", throuch which it responds to events. Instead of doing everything in predetermined order, event driven program essentially does nothing by default and it waits for events to happen, once event occurs it process that event, and when it's finished it waits for another. GUI programs are usually event driven.

Answer Question

Anonymous