0% found this document useful (0 votes)
14 views3 pages

Difference Between Structured Programming and Object-Oriented Programming

This document compares and contrasts structured programming and object-oriented programming. Structured programming focuses on sequences, selection, and iteration, while object-oriented programming uses concepts such as inheritance, encapsulation, and polymorphism. Both paradigms have advantages and disadvantages depending on the problem, and have evolved to improve software development.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views3 pages

Difference Between Structured Programming and Object-Oriented Programming

This document compares and contrasts structured programming and object-oriented programming. Structured programming focuses on sequences, selection, and iteration, while object-oriented programming uses concepts such as inheritance, encapsulation, and polymorphism. Both paradigms have advantages and disadvantages depending on the problem, and have evolved to improve software development.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

1

Difference between structured programming and programming


object-oriented.

Definition:

∞ Structured Programming:It is a programming paradigm aimed at improvement.


the clarity, quality, and development time of a computer program, using
only subroutines and three structures: sequence, selection, and iteration.

∞ Object-Oriented Programming:It is a programming paradigm that


uses objects in their interactions to design applications and computer programs.
It is based on several techniques, including inheritance, cohesion, abstraction,
polymorphism, coupling, and encapsulation.

Programming Advantages Disadvantages


≥ The programs are easier to ≥ A unique one is obtained
Structured
to understand, a program block of program
structured can be read in that when it is done
sequence, from top to bottom. too big
≥ A reduction is achieved in it can turn out
effort in the tests, the problematic its handling.
tracking of failures or
debugging is facilitated due to the
more visible logic, in such a way
that mistakes can be
detect and correct more
easily.
≥ Simpler programs are created
and faster.

≥ All the code is found in a ≥ To read, modify, or


Oriented to to do something to them
only place.
Objects ≥ Objects can have several simply; in
attributes. some programs
you must take a step

Xy.
2
≥ The execution of the program is extra to carry out these
quick and easy, everything is actions.
find in a single window. ≥ If the language is forced
you can lose some
objects and characteristics.
≥ The objects require
an extensive
documentation.
≥ The objects when being
abstract may not
matching the vision of a
programmer to another.

Languages and Compilers:

∞Programming • C • SmallBasic
Structured: • Pascal • Free Pascal 2.4
• Fortran • FTN95
• dBase • Turbo C

Languages Compilers

∞Programming • C++ • Dev-C++


Oriented to • C# • JDK
Objects: • Java • NimRod
• Smalltalk • Octave

Languages Compilers

Illustrations:

Object Oriented Structured

Xy.
3
Conclusion:
Both types of programming have their utility, and were made to advance in the industry, each
One has tools and compilers, special for each solving a problem or innovating.
Studying them would improve and provide better performance, just like the other types of Programming.

Structured programming helps to teach and facilitate learning in a simple way, and the
object-oriented to design.

References:

≥ Unable to access or translate content from the provided URL.


≥ The provided text is a URL and does not contain translatable content.
≥ The provided link does not contain translatable text.
programming
≥ The content from the provided URL cannot be accessed or translated.
≥ Compile your code in a multitude of languages
without-ide-with-these-online-compilers
≥ http://www.sites.upiicsa.ipn.mx/polilibros/portal/Polilibros/P_Terminados/PolilibroFC/An
idad_III/Unit%20III_8.htm
≥ The provided text is a URL and cannot be translated.

Xy.

You might also like