Wednesday 4 January 2012

QUESTION 1




COMPARE PROCEDURE ORIENTED LANGUAGE & OBJECT ORIENTED LANGUAGE  ?


Procedure Oriented language
1.Prime focus is on functions and procedures that operate on data
2.Large programs are divided into smaller program units called functions
3.Data and the functions that act upo it are treated as separate entities.
4.Data move freely around the systems from one function to another.
5.Program design follows “Top Down Approach”.


Object Oriented Language


1.Here more emphasis is laid on the data that is being operated and not the functions or procedures
2.Programs are divided into what are called objects.
3.Both data and functions are treated together as an integral entity.
4.Data is hidden and cannot be accessed by external functions.
5.Program design follows “Bottom UP Approach”.
6. Modules can be easily used and repeated anywhere in the source code.
7. You can implement polymorphism techniques- "One name having multiple forms"
8. You can use inheritance to acquire the properties of object of another class/Superclass.
 9.Object oriented techniques helps an approach to design classes and group similiar classes into packages which makes large software easier to manage.

No comments:

Post a Comment