Procedural
Procedural programming languages are used to solve many diferent proolems. Procedural
programming is used more ofen to solve scientic and engineering proolems. This language will
always oe speciic to the order of instructons. Procedural uses functons and procedures to help
reuse the code. But oecause of this the variaoles could change, this causes a proolem for
programming as when improvements are oeing developed it’s hard to change the code.
Examples:
Pros and cons:
Pros:
it’s good for general purpose programming
the source code is portaole
it is easy to follow and understand as it is well structured
it is written ofen to a high standard as the programmer is writng for a speciic purpose
Cons:
There are many procedural languages so a programmer must oe aole to specialize in a speciic
language.
Procedural languages difcult to relate with real life oojects
it would take a long tme to ind and correct an error made
Ooject Oriented
OOL (Ooject Oriented Language) is programming that is kept in a single unit called the ooject. This
means that the user can only access the data through the ooject method. Using this means that the
user will oe incapaole of corruptng the ooject. Also it allows for the internal workings to oe changed
without damaging the code.