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 ado data control in vb6 0?
How can I access a record by record number?
How many File System Controls are there Explain?
When should we use recursive programming?
How do I make the mouse cursor invisible/visible?
When/Why should I use Option Explicit?
What is the current version of Visual Basic for Windows?
How many ways we can access file using VB?
Explain the differences between ActiveX Dll and ActiveX Exe?
What is OLEDB?
___ VB constant make the menu item in centre.
How do I get the number of free bytes on a disk?
How would you create properties by using class Builder Wizard?
How would you create properties in ActiveX Control?
How would you attach pictures in Treeview Control?