OOP and Procedural Programming Flashcards
1
Q
OOP
A
a style of programming characterized by the identification of classes of objects closely linked with the methods (functions) with which they are associated. It also includes ideas of inheritance of attributes and methods.
2
Q
Procedural Programming
A
a programming paradigm built around the idea that programs are sequences of instructions to be executed. They focus heavily on splitting up programs into named sets of instructions called procedures, analogous to functions
3
Q
Advantages of OOP against Procedural
A
- OOP makes hiding data possible using abstraction whereas you are unable to do this with procedural programming
- More suitable for solving big/complex problems
- Less difficult to add new functions/data
4
Q
Advantages of Procedural against OOP
A
- ## Avoids the risk of overloading but OOP does not