Breaking News

Structured Programming vs Object-Oriented Programming (#oops)(BCASem3)(#ggsipu)(#ipumusings)

Structured Programming vs Object-Oriented Programming

Structured Programming vs Object-Oriented Programming (#oops)(BCASem3)(#ggsipu)(#ipumusings)


Structured programming allows developing a program using a set of modules or functions. It is a programming approach in which the program is made as a single structure i.e. instructions are executed in a serial and structured manner. 

Object-Oriented Programming (OOP) is the term used to describe a programming approach based on objects and classes. The object-oriented paradigm allows us to organize software as a collection of objects that consist of both data and behaviour. 



SNo. Structured Programming Object-Oriented Programming
1. Structured Programming is designed which focuses on process/ logical structure. Object-Oriented Programming is designed which focuses on data.
2. Structured programming follows a top-down approach. Object-oriented programming follows a bottom-up approach.
3. Code is given more importance. Data is given more importance.
4. Structured Programming is also known as Modular Programming and a subset of procedural programming language. Object-Oriented Programming supports inheritance, encapsulation, abstraction, polymorphism, etc.
5. In Structured Programming, Programs are divided into small self-contained functions. In Object-Oriented Programming, Programs are divided into small entities called objects.
6. Structured Programming is less secure as there is no way of data hiding. Object-Oriented Programming is more secure as having data hiding feature.
7. Structured Programming can solve moderately complex programs. Object-Oriented Programming can solve any complex programs.
8. Structured Programming provides less reusability, more function dependency. Object-Oriented Programming provides more reusability, less function dependency.
9. Less code reusability More Code Reusability
10. Less abstraction More abstraction
11. Less flexibility More flexibility


👉See Also: