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
4. What is the need of START 0? Instead if can we use any other numeric? If we use what will happen?
what is d main diff between the java and .net framework
8.In DSP,Define Signal and System?and various type of signals.
Difference between HTML and DHTML?
How will you prove that java swing is multithreaded?
what is c sharp dotnet
I have try to write a record in a TDQ from a fle.... what are the steps to do... can anybody plz come with a solution
purpose of abstraction and interface
what is radio button? Plz show code this! how will select radio buttons to go next window Forms? Supose o radio button1 o radio button2 o radio button3 o radio button4 how will coding this? Plz explain this!
Write a pascal program to calculate the sum of the first 100 even number and odd number
Bonjour, svp je veut voir comment envoyer un mail en java et comment changer le droit d'accé d'un fichier en java: de lecture en lecture/écriture et merci d'avance ;)
what is the current salary package in India for a lamp programmer
when will triggars the at new event in abap and web dybn pro?
in a VB application, where the data will be stored after manipulation? what is the syntax for that?
What's the difference b/w Table & Templete in Smartform?