English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2 answers

Hi,
Procedure orirnted languages focuses on the Procedure. There is a common pool of data on which the procedures act upon. In case of small programs it is ok, but while dealing woth huge programs ownership of the data is spread. The same data can be modified by many procedures.

This is the main disadvn of POL. This gave birth to the OOP concept, where each data item can be modified only by the members of the class where the data item is present.

Hope I have cleared ur doubt.
revert if u need more

Regards,

2007-03-07 14:25:04 · answer #1 · answered by Pratheep T 2 · 0 0

A big disadvantage to proceedural languages is that they are not event driven. Meaning that if you want to respond to a button click or keypress no event is triggered. Rather a technique called polling must be done. In essence the program repeatedly scans a button waiting for it to be pressed. Unlike Event driven languages where the click event is fired causing a specific section of code to be processed.


Proceedural languages also process in the same order so if an event happens out of sequence. Say pressing a button just after scanning that button press may be missed unless it is held down long enough by the user to be detected by the next scan(polling) function within the program

2007-03-08 00:04:25 · answer #2 · answered by MarkG 7 · 0 0

fedest.com, questions and answers