Skip to main content

Explain Procedural and Non Procedural Programming Languages

After reading this topic you will be able to clearly understand the meanings of Procedural and Non Procedural Languages and the differences between procedural and non procedural languages
Here is a brief note on procedural and Non Procedural Computer Languages:

Procedural Languages

Explain Procedural Languages and Non Procedural Languages in Computer Programming
Explain Differences between Procedural Languages and Non Procedural Languages in Computer Programming


In procedural languages a program is written as a sequence of instructions. We have to specify what to do and how to do. In procedural languages a program will tell the whole step by step procedure to perform a particular task or job.  So we provide a sequence of instructions and these instructions are executed in the given specified order. These instructions are written in order to solve a specific problem.
Procedural languages are also called 3rd Generation languages or 3GL.3GL languages are

Examples of procedural languages 

Examples of Procedural languages are FORTRAN, COBOL, BASIC, Pascal, C Language, C++, and Java etc.

a)    FORTRAN (FORrmula TRANslation)

FORTRAN is generally used by mathematicians to solve mathematical problems.

b)    COBOL (Common Business Oriented Language)

COBOL is one of the first popular programming languages for businesses.

c)    C – Language

C Language is one of the most popular high level programming languages. C language is used for System programming as well as for application programming. C language can be used to develop operating systems and application programs.

d)    BASIC (Beginners All Purpose Symbolic Language)

BASIC was developed for teaching purposes. It was used to teach how to program to students and beginners.

 Non-Procedural Languages

In non-procedural languages we have to specify only “what to do” and not “how to do”.  For example, SQL (structured query language) is a non procedural language. It is used in database systems.

Non Procedural languages are Fourth Generation Languages called 4GLs. In Non procedural languages we do not have to write whole set of instructions according to the logic of the program. But only one statement may be enough in a non procedural language to perform the whole job, for example select statement of SQL. Another example of non procedural languages is RPG

    a) SQL

SQL is the short form of Structured Query Language. Structured Query Language is the mopst popular database query language. SQL is used in Database Management Systems like Microsoft Access, ORACLE, MS SQL Server and MySQL.

    b) RPG

RPG is another example of a non procedural language. RPG stands for Report Program Generator. It is used for generating professional business reports.
   

Comments

Unknown said…
hiii

nice blog and good conten

Final Year Project Help :- Qualityassignmenthelp is best company that offers to free final year project help, thesis writing help

and all types programming project.


Headquater USA

100 Mainstreet Blvd. (South) 44th Floor, Highland Tower Miami, Florida 33148
+16059567291
service@qualityassignmenthelp.com
www.qualityassignmenthelp.com
Business Hours
Availability: 24 hrs

Popular posts from this blog

Introduction to Algorithms and Algorithmic Notation With Examples

Topic: Introduction to Algorithm and Algorithmic Notation With Examples What is an Algorithm? The step by step procedure to solve a particular problem is called an Algorithm .  A Good Programmer always writes algorithms before developing programs. Algorithmic Notation with example algorithms  Advantages of  writing an Algorithm The process of solving a problem becomes simpler and easier with the help of  algorithm. There are less chance of errors in the program, if we design algorithms before writing our programs in any programming language. We can convert an algorithm into a program of any programming language. It is not dependent on any programming language. Therefore it is easy to understand for anyone even without programming knowledge. What is the Relationship between an Algorithm and a Program Sponsored Links An algorithm is the sequenc of steps to perform a task, whereas a program is the set of statements to perfor...

Define Data and Information With Examples

DATA Data is the collection of raw facts and figures. Actually data is unprocessed, that is why data is called collection of raw facts and figures. Define Data and Information with Examples We collect data from different resources. After collection, data is entered into computer for processing. Data may be collection of words, numbers, pictures,  or sounds etc. Examples of Data 1) Student Data on Admission Forms When students get admission in a college. They fill admission form. This form  contains raw facts (data of student) like name, father’s name, address of student, obtained marks, photo graph etc. 2)    Data of Citizens During census, data of all citizens is collected. The staff will go house to house and collect data about citizens like number of persons living in a home, either they are literate or illiterate, number of children, data of each child, cast, religion, Computerized national Identity Card number, address, how many rooms and...

What are Dual Devices or Both Input/ Output Devices

The devices that can be used to perform both functions -input and output- are called Dual Devices. These devices are also called Dual Purpose Devices or Both Input/Output Devices. With the help of a dual purpose device, we can enter data into computer as well as we can output data from the computer to outside world.  For example, Dual devices include:  Touch Screen Monitor, Modem, Network Interface Card, Sound card, Hard disk drive, Floppy disk Drive, Magnetic Tape Drive CD-Writer and DVD-Writer etc. These are also called Input/output devices, because they perform both functions. Touch Screen Monitor Dual Devices or Both Input / Output Devices - Touch screens Touch Screen Monitor is an input/output device. It uses a special touch sensitive screen. The User can enter data by touching icons or menus on the screen. As soon as the user selects a command from menu, output is displayed on screen. Commonly touch screen monitors use sensors to detect touch of finger. ...