Advertisements
Advertisements
Questions
Differentiate between Traditional Procedural Programming Approach and Object-Oriented Programming Approach
Write any thee distinct differences between Procedure Oriented and Object Oriented Programming.
Distinguish Between
Solution
Sr. No. | Traditional Procedural Programming Approach |
Object Oriented Programming Approach |
1. | In this approach, the problem is viewed as a sequence of things to be done. | In this approach, the problem is decomposed into a number of entities called objects and then builds data and function around these entities. |
2. | Emphasis is on doing things. | Emphasis is on the data rather than procedure. |
3. | Large programs are divided into smaller programs known as functions. | Programs are divided into entities known as objects. |
4. | Data move openly around the system from function to function. | Data is hidden and cannot be accessed by external functions. |
5. | Employs top-down approach in program design. | Follows bottom-up approach in program design. |
shaalaa.com
C++ Programming
Is there an error in this question or solution?