OOP Flashcards

1
Q

What is OOP?

A

Object Oriented Programming is a system of programming which packages properties and behaviours into objects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is POP?

A

Procedural Oriented Programming involves writing methods that perform operations on data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the Difference between POP and OOP?

A
  1. POP uses top-down approach while OOP uses bottom-up.
  2. Examples of programming languages that use POP: BASIC, FORTRAN 77, COBOL, PASCAL; examples of programming languages that use OOP: Java, C++, C#, Python, PHP, JavaScript.
  3. POP costs more time; OOP saves time.
  4. POP is not easy to maintain; OOP is much easier to maintain.
  5. POP is not secure; OOP is secure
  6. POP does not support inheritance; OOP supports inheritance.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly