- Get link
- X
- Other Apps
Procedure-Oriented Programming
C Programming also known as Procedure-Oriented programming language.In the procedure approach, the problem is viewed as a sequence of things to be done such as reading, Calculating and printing.A number of function are written to accomplish these task.Procedure-oriented programming basically consists of writing a list of instruction for the computer to follow, and organizing these instructions into groups known as functions. We normally use a flowchart to organize these actions and represent the flow and control from one action to another. While concentrate on the development of function, Very little is given to the data that are being used by various functions. In a multi-function program, many important data items are placed as global so that may be accessed by all the function. Each function may have its own local data. Global data are more vulnerable to an inadvertent change by a function. In a large program it is very difficult to identify what data is used by which function. In case we need to revise an external data structure, We also need to revise all functions that access the data.This provides an opportunity for bugs to creep in.
Another drawback with the procedural approach is that it does not model real world problems very well. This is because function-oriented and do not really correspond to the elements of the problem.
Comments
Post a Comment