What is difference between procedural prog. Language

Answer Posted / joy

Events are caused by actions the user performs. For
example, clicking the mouse generates a mouse event,
pressing a key on the keyboard generates a keyboard event,
and so on. When a system event occurs, the operating system
is responsible for identifying and responding to the event.
Different operating systems implement this process in
various ways. However, all operating systems respond to the
system event by broadcasting a system event message. Any
application running on the system can react to the system
event by executing code written for that specific system
event.

In procedural-driven or top-down architectures, the
application executes a set of instructions in a specified
sequence to perform a task. The structure and sequence of
the program, not user actions, control the execution order
of a procedural-driven application. The program execution
begins in main and then flows through method calls and
control statements in a fairly predictable manner.

In an event-driven program, the program first waits for
events to occur, responds to those events, then returns to
waiting for the next event. How the program responds
depends on the code written for that specific event. The
order in which an event-driven program executes depends on
which events occur and on the order in which those events
occur. While the program waits for the next event, it frees
up CPU resources that might be used to perform other
processing tasks.

Is This Answer Correct ?    75 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the Difference between Tabletype and Snapshot?

1532


How to get Cursor position using API?

1684


To.set the command button for ESC ___ Property has to be changed.

1003


Is there any Edit method in ADO Data Access method?

1525


How many ways we can access file using VB?

1702






what is the Property used to add a menus at runtime?

1655


What type of databases you can access through ADO Data Access Object?

1428


What is Parser Bug?

1880


How would you use ActiveX Dll and ActiveX Exe in your application?

1619


What is the need of tabindex property is label control?

1603


Explain the working of templates?

578


How do I get a bitmap picture in a field in an Access database?

895


Which property of textbox cannot be changed at runtime. What is the max size of textbox?

574


Difference between ActiveX Exe and Dll.

1476


____ is the difference between Listindex and Tab index.

1317