what is diffrence between Function Oriented Design and
Obeject Oriented design

Answer Posted / ganesh karki

Difference Functional-oriented Approach v/s Object-oriented Design

1.FOD: The basic abstractions, which are given to the user, are real world functions.
OOD: The basic abstractions are not the real world functions but are the data abstraction where the real world entities are represented.

2.FOD: Functions are grouped together by which a higher level function is obtained.an eg of this technique isSA/SD.
OOD: Functions are grouped together on the basis of the data they operate since the classes are associated with their methods.

3.FOD: In this appproach the state information is often represented in a centralized shared memory.
OOD: In this approach the state information is not represented in a centralized memory but is implemented or distributed among the objects of the system.

4.FOD approach is mainly used for computation sensitive application,
OOD: whereas OOD approach is mainly used for evolving system which mimicks a business process or business case.

5. In FOD - we decompose in function/procedure level
OOD: - we decompose in class level

6. FOD: TOp down Approach
OOD: Bottom up approach

7. FOD: It views system as Black Box that performs high level function and later decompose it detailed function so to be maaped to modules.
OOD: Object-oriented design is the discipline of defining the objects and their interactions to solve a problem that was identified and documented during object-oriented analysis.

8. FOD: Begins by considering the use case diagrms and Scenarios.
OOD: Begins by identifiying objects and classes.

Is This Answer Correct ?    253 Yes 32 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give me example of chain of responsibility design pattern?

625


Which design patterns have you used in your project ?

572


What is the difference between factory and strategy design pattern?

558


Suppose we have file(ps), dont know how many records are there. Move half of the records to 2 files. How can we do?

586


What is meant by design pattern?

585






What are the SDLC phases you have invloved ?

2190


What is synchronizer token pattern?

614


What are the main types of concurrency design patterns?

585


What is the difference between adapter and facade?

633


Can we use an equated value as operands for an MVC ? Reason for the same.

2032


Is singleton an anti pattern?

587


Quartus II software version 6.0 is available for which operating systems (OS)?

1923


What is the gang of four design pattern?

614


What is the singleton design pattern?

633


What is the difference between proxy and adapter?

613