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

Explain different types of storage devices

Topic: Explain different types of storage devices in Computer systems Storage Devices Storage devices are used to store data and instructions permanently. Storage devices are also called secondary storage devices / backing storage devices / external storage devices or auxiliary storage devices. Examples of storage devices include Hard Disk, CD and DVD etc. Why Secondary Storage Devices are Used? Secondary storage devices are used because: Primary memory(RAM) is volatile and temporary. When computer is switched off, all data in ram is erased. Storage devices can store large amounts of data and instructions permanently whereas Primary memory has less capacity of storing data. Types Of Storage Devices There are three main types of storage devices:  Magnetic Tape   Magnetic Disk   Optical Disk   Flash Memory storage devices 1. Magnetic Tape Magnetic tape is the oldest storage device. It is made of plastic coated with m...

Explain Different Types Of Output Devices

Output devices Out put devices are used to display results of processing to the user. They perform the following functions:  Receive results from memory  Convert data into human readable form  Display results to the user Examples include: Monitor, printer, plotter, speaker, and multimedia projector. Different Types of Output Devices 1.    Monitor LCD Monitor CTR Monitor     Monitor is the most commonly used output device used to display results of processing. It has a TV like shape. Pictures on monitor are formed with picture elements called PIXEL. Monitors may be Monochrome that will display results in Black & White. Color Monitors are also available. They display results in multi colors. Monitor produces soft copy output. 2.    Printers Printers are used to produce hard copy out put. They print processing results on paper. Printers are divided into two main categories: · ...

Types Of Scanners Input Device

Scanner / Optical Scanner A scanner is an input device for computer. It can scan any printed document with text as well as images. It will : Read any printed paper or picture, Convert text or images into digital form Saves this converted digital file into computer storage for later use Uses Of Optical Scanners You can scan your documents or pictures to: Store into computer memory. To save lot of effort and time because if you type the whole text on printed page, it will take effort as well as time). Show image or text on computer screen or on a multimedia projector's screen. In addition, you can send this scanned document or image to your friends all over the world with the help of Internet & Email. You can publish the scanned documents or images on your website or blog. You can apply online and send the scanned images of your academic documents in any part of the world within minutes. If your scanner supports OCR - Optical Character Recognition, you can scan a page...