answersLogoWhite

0

Table 5.2.S. No.Functional-oriented ApproachObject-oriented Approach1.In the functional-oriented design approach, the basic abstractions, which are given to the user, are real-world functions, such as sort, merge, track, display, etc.In the object-oriented design approach, the basic abstractions are not the real-world functions, but are the data abstraction where the real-world entities are represented, such as picture, machine, radar system, customer, student, employee, etc.2.In function-oriented design, functions are grouped together by which a higher-level function is obtained. An example of this technique is SA/SD.In this design, the functions are grouped together on the basis of the data they operate on, such as in class person, function displays are made member functions to operate on its data members such as the person name, age, etc.3.in this approach, the state information is often represented in a centralized shared memory.In this approach, the state information is not represented in a centralized shared memory but is implemented/distributed among the objects of the system.

User Avatar

Wiki User

12y ago

Still curious? Ask our experts.

Chat with our AI personalities

DevinDevin
I've poured enough drinks to know that people don't always want advice—they just want to talk.
Chat with Devin
LaoLao
The path is yours to walk; I am only here to hold up a mirror.
Chat with Lao
BeauBeau
You're doing better than you think!
Chat with Beau
More answers

Interface oriented is something like having contract-based approach, means whatsoever be there under the Contract you have to implement all of it. and object oriented is based on 1. abstraction - which means making things loosely coupled so that in future they can be easily handled without affecting the system. 2. encapsulation(data hiding) - categorizing data as per their role i.e private, public, etc. 3. inheritance - provides the real world genetic mechanism as what's there in the parent would be there in the child too(or not). 4. and polymorphism - means same look and feel but different functional abiltity.

User Avatar

Wiki User

17y ago
User Avatar

Aspect Oriented Programming is to seggregate the code in such a way the primary tasks are carried by different objects and the secondary jobs are carried out by independent objects. Ex for Primary Payroll Calculation done by Payroll Object and Logging, Exception secondary jobs are carried by different objects

User Avatar

Wiki User

17y ago
User Avatar

Procedural programming implies that an application is perceived as a hierarchy of operations (i.e. procedures or functions) that apply transformations on data provided as argument. Object-oriented programming implies that an application is perceived as a graph of cooperating objects (i.e. similar to structure or record in procedural programming languages except that all the operations permitted on it are included in its definition refered as an abstract data interface) that apply transformations on themselves.

User Avatar

Wiki User

16y ago
User Avatar

Object oriented programming is a design paradigm supported by the languages compiler where aspects of the program are thought of as objects. The code (i.e. functions) and variables required by those methods are grouped together into objects. The object exposes methods to the programmer so the object can be manipulated. There are more advanced aspects of object oriented programming such as polymorphism and inheritance that allow more high level and abstract usage of objects.

Function oriented programming treats functions and variables separately. Functions are used like machines; they take in variables, manipulate, and return them. The variables and functions required to accomplish a task aren't grouped together as in object oriented programming.

For a large project object orientated programming is more flexible and easier to understand. Small, very specific tasks, can some times be best accomplished with straight forward function oriented programming.

User Avatar

Wiki User

13y ago
User Avatar

java is a programming language/platform that embodies object oriented programming concepts.

The question of what is the difference is like asking what is the difference between cars and a Volvo.

User Avatar

Wiki User

13y ago
User Avatar

Object based approach does not include the behaviors of the objects, OO (object oriented) does. OO also use inheritance to allow subclasses to override certain behaviors, object based does not have the inheritance concept, and hence cannot perform the overrides.

The obvious characteristic of Object based approach:

  • Objects being passed as arguments to a function or as the return type
  • NO behavior defined by the object itself.
  • No inheritance
    • no overriding and no polymorphism

OO has all the above.

User Avatar

Wiki User

13y ago
User Avatar

There isn't any difference. They mean the same thing, although we use the term object-oriented programming rather than object-based programming.

User Avatar

Wiki User

11y ago
User Avatar

Add your answer:

Earn +20 pts
Q: Different between object oriented and function oriented design strategy?
Write your answer...
Submit
Still have questions?
magnify glass
imp