OOP and Procedural Programming Flashcards

You may prefer our related Brainscape-certified 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Advantages of Procedural against OOP

A
  • ## Avoids the risk of overloading but OOP does not
How well did you know this?
1
Not at all
2
3
4
5
Perfectly