What is Prodcedural or non procedural programing language


What do you mean by procedural programming language?   In simple language procedural programming language program is written  in organised way.  every function is separated from each other according to its logic.  it follows traditional logic procedural programming language came from the concept of structured programming language the procedural programming complete the task by breaking down into variable,data structure and subroutines.You can carry out its specific function with in the program execution by calling at any given time. It is easy to learn and use. It executes very quickly and its code can be reused in various part of the program but not so easy there is some problem it is hard to write and unfortunately there are no great tools for abstraction and modularization procedural language. C, C++ , Java, BASIC, Fortran are good example of programing language. In procedural programming language, the programmer have to specify what to do and
 how to do.

On the other side, non procedural programming language does not require traditional programming logic. It is also known as 'declarative language' users concentrate on defining the input and output rather than the program steps required in a procedural programming language such as C++ or Java. Non procedural programming language the programmer have to  specify what to do rather than providing the sequential steps indicating how the  program will be performed like the procedural programing language. It is a 4th generation programing language. In non procedural programming language, a whole set of instruction is not written according to the logic of the program. But only one statement maybe enough to perform the whole job. For example select statement of SQL. SQL ,RPG, LISP  are a good example of non procedural programming language. Its code can't be used in various part like in the procedural programming language.

Post a Comment

Previous Post Next Post