1.

Bring out the differences between structured programming and object-oriented programming languages.

Answer»

The differences between Structured Programming language and Object-Oriented Programming language are:
1. Structured Programming Language:

  • It follows a top-down approach in program design.
  • Data and Functions are not coupled with each other.
  • Large programs are divided into smaller self-contained program segments known as functions.
  • Data moves openly around the system from function to function.
  • Functions are dependent so reusability is not possible.

2. Object-Oriented Programming Language:

  • It follows a bottom-up approach in program design.
  • Functions and data are coupled together.
  • Programs are divided into entities called Objects.
  • Data is hidden and cannot be accessed from outside that class.
  • Functions are not dependent so reusability is possible.


Discussion

No Comment Found