What is the difference between procedure -oriented language
and object oriented language?

Answer Posted / kashmir singh

Procedure Oriented Programming (POP)
1. Main program is divided into small parts depending on
the functions.
2. The Different part of the program connects with each
other by parameter passing & using operating system.
3. Every function contains different data.
4. Functions get more importance than data in program.
5. Most of the functions use global data.
6. Same data may be transfer from one function to another
7. There is no perfect way for data hiding.
8. Functions communicate with other functions maintaining
as usual rules.
9. More data or functions can not be added with program if
necessary. For this purpose full program need to be change.
10. To add new data in program user should be ensure that
function allows it.
11. Top down process is followed for program design.
12. Example: Pascal, Fortran



Object Oriented Programming (OOP)
1. Main program is divided into small object depending on
the problem.
2. Functions of object linked with object using message
passing.
3. Data & functions of each individual object act like a
single unit.
4. Data gets more importance than functions in program.
5. Each object controls its own data.
6. Data does not possible transfer from one object to
another.
7. Data hiding possible in OOP which prevent illegal
access of function from outside of it. This is one of the
best advantages of OOP also.
8. One object link with other using the message passing.
9. More data or functions can be added with program if
necessary. For this purpose full program need not to be
change.
10. Message passing ensure the permission of accessing
member of an object from other object.
11. Bottom up process is followed for program design.
12. Example: C++, Java.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

it is a language or tools?

1811


what is the difference between read the data from table and infotype

2292


can we extend a class having only one parameterised constructor.Suggest the process to do it.

2260


how to study PHP my own? i reffered many sites.. but as being a fresher i couldnt follow those... which site will be the best one?

2044


Hi..Am done with my Masters recently..Am planning to learn TIBCO.. could anyone suggest me about how the job market will be and Is there any course necessary to learn prior to Tibco..i mean any prerequisite. I dnt have any knowledge on PL/SQL thats it... Plz suggest me in a best way...

2009


how do i add a column dynamically in a table by using java application?

1740


In project we have Documentation phase also,in that what is micro and macro designing?

1630


Can i please VHDL code for D-Latch with clear input ?? (HINT: Set up a “Process” with appropriate sensitivity list to get the desired D-Latch with Clr working.) Inputs and Outputs: entity Lab4b is Port ( Clr, Clk, D : in STD_LOGIC; Q : out STD_LOGIC); end Lab4b;

1222


qtp 9.2 14 days demo version was expired.I uninstalled how to reinstall this again

2559


any drawback are there in mantis?

1850


i am exeprienced person what is selection process

1344


which worker is involved in all the phases of SDLC?

1897


Write a program to create a process in UNIX

2265


Hai, My name is nisha.I have NIC exam.If anybody Knows NIC previous paper pattern pls send me to nishanairp@gmail.com

1931


What is diffrent between Method and and function in c#

1743