Computer Science, asked by ypadte5449, 1 year ago

What is the difference between structured oriented programming and object oriented programming with example?

Answers

Answered by bhagathmukesh07
2

Structured Programming Language  

1) Follow top-down approach to program design.

2) Data and Functions don’t tide with each other.

3) Large programs are divided into smaller self contained program segment known as functions.

4) Data moves openly around the system from function to function.

5) Functions are dependent so reusability is not possible

Object Oriented Programming Language

1) Follow bottom-up approach in program design.

2) Functions and data are tied together.

3) Programs are divided into entity called Objects.

4) Data is hidden and can’t be accessed by the external world

5) Functions are not dependent so reusability is possible

Answered by SohamKundu012
0

An object oriented programming refers to the type of programming where data and object are given equal importance and data is secured by hiding it .

Features are

1. Inheritance .

2. Data abstraction .

3. Encapsulation .

4. Modularity .

5. Polymorphism .

POP aims more at functions rather than data .

hence there is no security of data .

In OOP data is secured .

Similar questions