adspace


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

With in the form we want to check all the text box control are typed or not? How?

2071


How would you activate animation control?

2456


How would you attach pictures in column headers of List View Control?

2165


How do I make the mouse cursor invisible/visible?

1440


Specify technical & functional architecture of your last 2 projects.

2146


How do I force a file dialogue box to reread the currect disk?

1526


How do I tell when an application executed using the SHELL command is finished?

1636


Draw Sequence Modal of DAO and Explain?

2139