Posts

Showing posts with the label Note of TU IT Adhikrit of Computer fundamental

Procedural and Object Oriented Programming of TU IT Adhikrit

Image
Concept of Procedural Programming Procedural programming is a conventional programming paradigm in which a complex task is broken down into a set of self-contained and sufficiently small functions or modules. This paradigm uses a top down approach in the program design. Programming languages like C, Pascal, FORTRAN, BASIC, etc are Procedure Oriented Programming languages. They are also known as structured or modular programming languages. As can be seen from the figure, in a procedure oriented program, a complex program is broken down in terms of self contained modules called functions. These functions interact with each other through the function calls. A. Characteristics of POP i. Emphasis is given on the functions or algorithm. ii. A large program is divided into functions. iii. Most of the functions use global variables/data. iv. Data can flow freely among the functions. v. Use a top down approach in the program design. B. Advantages of POP i. It is very easy to write and follow. i...