Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Difference between Procedural and Non-Procedural Languages - 3GLs & declarative

In this article, you will know about Procedural and Non-Procedural programming languages. Actually, these are categories of high-level programming languages. Here you will find explain of Procedural and Non-Procedural Languages with their briefly introduction of some most popular and commonly used languages. So let's start the topic.

What are Procedural Languages

      Procedural languages are also known as third generation languages (3GLs). In procedural programming languages, the instructions of the program tell the computer that what to do step by step and how to perform from the first code to the second code. Some popular procedural languages are FORTRAN, COBOL, PASCAL, BASIC, C and C++ etc.

What are Non-Procedural Languages

A computer language that doesn't require writing traditional programming logic is called non-procedural languages. 

      Non-Procedural Languages are also known as declarative language, because user contrate on defining the input and output rather than the program steps.  The importance is given only to "what is to be done." With a non-procedural language, the user (programmer) writes English like instructions to retrieve data from database or to perform other operations on database. These languages are easier to use than procedural languages.
      The most important non-procedural languages tools are as follows:-
  • SQL
  • RPG

List of Some Popular Procedural Languages

      Some most popular and commonly used procedural languages are as follows:-
  • C
  • BASIC
  • LISP
  • PASCAL
  • FORTRAN
  • COBOL
      There is short introduction of each above mentioned language. Read it to clear the concept about Procedural Languages.

What is C

      C is a high level programming language. You may know about the difference between high-level and low-level programming language. This language is commonly used for developing operating systems and applications programs. The most popular operating systems Windows, Linux, Unix, Macintosh and DOS are developed in C language.

What is BASIC

      BASIC stands for Beginners All-purpose Symbolic Instruction Code. It is also high level programming language that was developed by John Kemeny and Thomas Kurtaz in 1963 in USA. The main purpose of this language, it was developed for beginners and students to teach the fundamental concept of programming. This language provides easier way to write computer program and it is also easy to learn.

What is LISP

      LISP is the short of List Processing. It is also high-level programming language. This language is most commonly used to develop computer games. It is also used for developing expert systems.

What is PASCAL

      These days, PASCAL is very popular programming language in scientific and educational fields. PASCAL is a high level programming language that is named to honor the French Mathematician and Philosopher Blaise Pascal.

What is FORTRAN

      FORTRAN was the first high-level programming language that is stands for Formula Translation. Generally it is used to solve mathematical problems and for scientific purposes.

What is COBOL

      COBOL is a high-level programming language that is short of Common Business Oriented Language. This language is most commonly used for developing business related software.

List of popular Non-Procedural Languages

      From the beginning to these days the most popular and commonly used non-procedural languages are following:-
  • SQL
  • RPG
The briefly introduction of these languages are given below.

What is SQL

      SQL was developed by IBM that is stands for Structured Query Language. This language is most popular and commonly used for access data from database. The word Query represents that this language is used to make queries (inquiries) to perform different kinds of operations on data of database.  SQL is also used to update data, delete data, add data, create tables and edit (or modify) data of database.

What is RPG

      The main purpose of RPG language is to generate business reports. RGP stands for Report Program Generator. This language was also developed by IBM in 1960s. This language is most commonly used with IBM midrange computers (such as AS/400).


This post first appeared on Programming Explain, please read the originial post: here

Share the post

Difference between Procedural and Non-Procedural Languages - 3GLs & declarative

×

Subscribe to Programming Explain

Get updates delivered right to your inbox!

Thank you for your subscription

×