Monday, January 17, 2011

Differentiate between structured approach and object-oriented approach in programming

Structured Programming

Object Oriented Programming

  • Uses a top-down design model-

The whole program is broken down into

smaller section that are known as

modules

  • Always use for organizing and coding computer programs which employ a hierarchy of modules
  • Control is passed only through the hierarchy
  • Eg: Ada, Pascal, Fotran
  • Uses objects

  • Combines data with functions to create objects.

  • Every object has relationship with one another

Eg: Smalltalk,Java, Visual Basic, C++

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.