What is Procedure Oriented and Object Oriented Programing language?
What is programming languages?
As from starting of computing history ,A device with huge computing power had been Invented after lots of simple computing devices, which we simply called Computers now days. Similarly, with the change of Invention cycle of computing devices A language called Programming languages were formed to communicate with those devices and to make human life more easier with those devices.Actually programming languages are the greatest means for communicating humans and computers due to which human life become more easier.Along with the development of computers, its computing power and speed as well as decreasing size, the programming languages also get modified according to its flexibility , structure,execution time and conditions to represent real world problems.At first 1st generation programming languages were used to program computers where all are written in binary forms.After the complexity of 1st generation language assembly language are formed which is quite easier than 1st generation languages and should be assembled to execute the program.Similarly ,high level languages were formed which were quite easier to used and should be compiled or interpreted for execution.Then these high level languages are also categorized into Procedure oriented language and Object oriented language.
What is Procedure oriented programming language?
"Procedure oriented programming language" are conventional programming languages such as COBOL , FORTRAN ,C in which only sequence of solving particular problem is focused.For example,in C programming language the block of codes runs in sequential order from top to bottom of the entire program.The control of the program only follows algorithm where to go and what to do?.It doesn't care on data and its structure.In multiple function problem it should have more global variables and local variables in each function where global data's are more vulnerable to an inadvertent change by the function.Due to more global data it would be more difficult to identify which data are used in the functions so which make us to revise in external data structures and all functions accessing particular data.Hence this would be time consuming and difficult to fix bugs in program.It also doesn't model and represent real world problems perfectly and this is function oriented and every functions are action oriented hence it doesn't care the actual data and privacy of the data of program.
What is Object oriented programming language?
"Object oriented programming language" are those programming languages which focuses on data and privacy of the data of the program along with the flow of the program.In object oriented programming languages every program is divided into entities called Objects.In Object oriented programming, it treats every data as critical element and doesn't allow to flow randomly throughout the program.Every data's are not directly accessible in OOP. Hence this feature prevents the data from accidental modification and provides data a tough level of privacy.In Object Oriented programming language every object are the representation of class.For example, A design of certain product is class whereas the outcomed products from that design is object.Simply From this we can know that a Single class can have huge objects.Every objects can have data, functions which can be kept in different sections such as public,private and protected.The data members of private and protected sections are not easily accessible in outer program.we can access it with the help of public data members.One or more class with objects can be linked together by functions of each objects.Data structure are designed to to characterize the objects.New data's and functions can be added whenever and where ever we want and it mainly follows bottom-up approach of the program where in case of procedure oriented program is top-down approach. Object oriented programming language are c++,python,java,go and many more.
Thank u so much for reading my article
If u like this article then please give thumps up and share.Any feedback regarding this article is highly appreciated ,please comment below for feedback:->
keep doing it bro...
ReplyDeleteokz bro.. i wll do.
DeleteNice one,,u can do better though.
ReplyDeleteAll the best (Y)
ReplyDeletethank u bro..
Delete