Answer to Question #219686 in C++ for Cat

Question #219686


Explain at least not less than five differences between data-oriented programming and 

object-oriented programming. In your explanations, include concepts of data-oriented 

design, object-oriented design, and use at least five examples which should include 

source codes to support your arguments.



1
Expert's answer
2021-07-24T07:05:45-0400

Difference between DOP(a) and OOP(b):

1.a) It is a subset of procedural programming.

1.b) It relies on the concept of objects that contain data and code. 

2.a) Programs are divided into small programs or functions. 

2.b) Programs are divided into objects or entities.  

3.a) It is all about facilitating the creation of programs with readable code and reusable components.  

3.b) It is all about creating objects that usually contain both functions and data.  

4.a) Its main aim is to improve and increase the quality, clarity, and development time of computer programs.

4.b) Its main aim is to improve and increase both the quality and productivity of system analysis and design. 

5.a) It simply focuses on functions and processes that usually work on data.  

5.b) It simply focuses on representing both structure and behaviour of information system into tiny or small modules that generally combines data and process both.

6.a) It is a method of organizing, managing and coding programs that can give or provide much easier modification and understanding.

6.b) It is a method in which a set of objects can vary dynamically and can execute just by acting and reading to each other.  

7.a) In this, methods are written globally and code lines are processed one by one i.e., Run sequentially.  

7.b) In this, the method works dynamically, make calls as per the need of code for a certain time.  

8.a) It generally follows a “Top-Down Approach”.

8.b) It generally follows a “Bottom-Up Approach”.  

9.a) It provides less flexibility and abstraction as compared to object-oriented programming.  

9.b) It provides more flexibility and abstraction as compared to structured programming. 

10. a) It is more difficult to modify the structured programs and reuse code as compared to object-oriented programs.

10. b) It is less difficult to modify object-oriented programs and reuse code as compared to structured programs. 

11. a) It gives more importance to code. 

11. b) It gives more importance to data. 


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS