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
what is the Difference between Tabletype and Snapshot?
How to get Cursor position using API?
To.set the command button for ESC ___ Property has to be changed.
Is there any Edit method in ADO Data Access method?
How many ways we can access file using VB?
what is the Property used to add a menus at runtime?
What type of databases you can access through ADO Data Access Object?
What is Parser Bug?
How would you use ActiveX Dll and ActiveX Exe in your application?
What is the need of tabindex property is label control?
Explain the working of templates?
How do I get a bitmap picture in a field in an Access database?
Which property of textbox cannot be changed at runtime. What is the max size of textbox?
Difference between ActiveX Exe and Dll.
____ is the difference between Listindex and Tab index.