Procedural programming Language vs Structured Programming Language

Spread the love

                 Programming language is a language that consists of instructions designed for the computers.Processors only understand machine code as it reaches in two series of 0’s and 1’s, also known as binary data. Machine code is difficult to understand, and thus various programming languages are being used which are more understandable than the machine code and also provides greater portability.

Procedural Programming Languages:

These languages programs in such a way that the program executes statement by statement, reading and modifying a shared memory.the program communicate with the OS are through a set of procedure, or function, which in turn is a group of specific instructions executed one after the other. The data was quite
separate from the procedures and the challenge was to keep track of the order in which the functions are called and what data was changed.

Ex: Pascal, Fortran , COBOL

Structured Programming languages: 

              These are based on the top down methodology in which a system is further divided into subsystem these are Typically Called as Functions. The structured programming concept was formalized in the year 1966 by Corrado Böhm and Giuseppe Jacopini.

Structured programming is not only limited to the top down approach. It employs methods using:-

  1. Top down analysis for problem solving: It focuses on dividing the problem into sub parts and hence simplifies the problem solving.
  2. Modularization for program structure and organization: It organizes large instructions by breaking them into separate and smaller section of modules, sub routines and subprograms.
  3. Structured code for the individual modules Control structures are used to determine the exact order in which the set of instructions are to be executed. 
  4. By Introducing Modularity maintaining of Code and Debugging of Codes is became Easy.and Readability of Code also Increased.

Ex: C.

However Structural Approach is Better than the Traditional Procedural Oriental Approach we also have Object Oriented Approach (it have more advantages then above two approaches, Anyway we are Discussing about C so it is out of Scope of This Tutorial )

Disadvantages of Structural Oriented Approach :

                    We can not realize Real world situations i mean where data is more Important like Banking Situations. we cannot develop Banking Related Applications by using C because C handles data in two ways one is Local and Other one Global,.. so it is unsecured way of Dealing such a Important Data.

This is Tutorial was Submitted By Janardan Reddy. 

Venkatesh Macha

Hi Guys, I am Venkatesh Macha. I am a programmer, Presently working as a Software Engineer. I love Linux and Open Source. Apart from that, I love to explore new technologies and things.

You may also like...

1 Response

Leave a Reply