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
what is meaning of MDM in sap?let me know that meaning
What for decision coverage and modified condition decision coverage are used? Wat is the difference between them?
Write a program to show polymorphism.
what is web service in java? have u use before.
Write a shell program where you enter a number which corresponds to K.M. Find out the corresponding values in m, cm, inches, and feet. Hints:- 1 k.m= 1000 m 1 m= 100 cm 1 inches= 2.54 cm. 1 feet= 12 inches
1. Write a program to create a sentence at runtime and count number of vowels in it ? 2. Write a program to get a string and to convert the 1st letter of it to uppercase ?
Which language they use during interview?
they asked me about srs (software requirement specifcation)? how can i get anydocumentation about srs & other documnts infomation like bdd, in testing? its urgent?
what is the use MDM(Master Data Management)and meaning
sample code for data transfer between two r/2 systems and r/3 systems?
I HAVE DONE TESTING TOOLS COURSE,NOW I AM FRESHER,I AM NOT GETTING ANY CALLS,I WANT TO DO THE PROJECT ,WHERE I HAVE TO MEET TO DO THE PROJECT,I AM GOING WITH FAKE EXPERIENCE,SO WHAT I HAVE TO DO.
What r the attributes using in Win Runner?
Explain polymorphism. Provide an example.
What is autocall macro and how to create autocall macro? what is the use of it?
THE CHANNEL IN DATA COMMUNICATION CAN BE?