There is a great explanation on Wikipedia about Procedural programming vs object oriented programming:. Non-Procedural Language / 4GL 1. It involves the development of the functions from other functions to construct more complex functions. non-procedural language definition: A computer language that does not require writing traditional programming logic. It is also known as an applicative or functional language. non-procedural language A computer language that does not require writing traditional programming logic. This makes nonprocedural language somewhat easier to learn for those just beginning to get into coding and programming. A computer language that does not require writing traditional programming logic. Examples of computer procedural languages are BASIC, C, FORTRAN, Java, and Pascal.. Procedural and nonprocedural languages are the computations models for specifying most programming today. in 1980 for Apple II and MS-DOS . Direction Non-Procedural language directs the computer what to do not and how to do. The major difference between these computational models is that the procedural language is command-driven whereas non-procedural language is function oriented.
Examples of non-procedural languages are as follows. 3. Learning It is easy to learn. these languages are used to write large Programs easily. Comparison with object-oriented programming The focus of procedural programming is to break down a programming task into a collection of variables, … Procedural programming languages allow a program to be broken down into two or more sub-programs each with a specific task while non-procedural languages don't. Java is a language mostly used for object oriented programming and C a language mostly used for procedural oriented programming. Uses It can be used professional and non-technical users. In non- procedural language The large program is easy to handle. The nonprocedural language program is written as a different function and modulus that interact with each other. The opposite of nonprocedural language then is procedural language, which focuses much more on individual processes needed when writing and programming code. Procedural language provides many programming capabilities. Requirement It requires a few non-procedural instructions. Debugging It is easy to debug. These languages are easy to understand. Truitt et al.
6. 2. Non-Procedural Language: In the non-procedural languages, the user has to specify only “what to do” and not “how to do”. Examples of Non-Procedural languages: SQL, PROLOG, LISP. Many common types of programming languages are considered procedural language, including FORTRAN, C++, JavaScript, COBOL, and Java. NPL (for NonProcedural Language) was a relational database language developed by T.D. But only one statement may be enough in a non procedural language to perform the whole job, for example select statement of SQL. Users concentrate on defining the input and output rather than the steps of the program. Examples of Non-Procedural languages: SQL, PROLOG, LISP. In the non-procedural languages, the user has to specify only “what to do” and not “how to do”. Also known as a "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. 5. Nonprocedural language is that in which a programmer can focus more on the code's conclusion and therefore doesn't have to use such common programming languages as JavaScript or C++.