OBJECT ORIENTED PROGRAMMING Flashcards

1
Q

OOP

A

Emphasize organisation and manipulation of code into objects,providing more intuitive and flexible ways to develop software.

Provide mechanisms such as inheritance and polymorphism to enable reuse and extension of code, allowing more modular and maintainable software.

Class,methods, and objects are key concepts in oop.

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

Benefits of OOP

A

Modularity - broken in modular pieces,easier to manage and update.

Reusability - code reuse by allowing objects to b reused in multiple contexts.

Inheritance - creation of new classes based on existing classes . Reduce code duplication.

Polymorphism - objects take different forms. Increase flexibility of program.

Collaboration - objects assigned to different team members to work on, changes made by one team member does not affect work of others.

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

Limitations of OOP

A

Steep learning curve - difficult to learn and understand for those new to programming.

Overhead - lot of overhead due to objects and their interactions.

Memory usage - objects in OOP take more memory.

Complexity - more complex as number of objects and interactions between them grows. Difficult to maintain and debug.

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