answersLogoWhite

0

Function oriented design breaks a system down into one or more named functions which transform their inputs to produce an output, such that the output of one function may be used as input to another function. In addition, the system also typically provides a global state which any function may operate upon.

In order for the "system of functions" to operate there has to be single point of entry which is typically provided by the system's global main function. The inputs for this particular function are derived from the command line used to invoke the system while the output is an integer typically used to indicate a system-defined error (with the value 0 usually indicating no error). Typically, the global main function decodes the command line parameters to determine what work is to be performed (if any) and to delegate that work to an appropriate function.

Although a single function can perform a significant amount of work, complex systems are much easier to understand when the work is divided amongst many smaller, simpler functions. When the functions are appropriately named, code becomes largely self-documenting, with the low-level implementation details largely hidden from the user.

User Avatar

Wiki User

7y ago

What else can I help you with?

Related Questions

What is difference between Function Oriented Design and Obeject Oriented design?

In function oriented design a problem is thought in form of data and functions to manipulate those data. Both entities remain independent of each other. On the other hand in object oriented design a problem is thought in form of an encapsulated entity where both data and functions stay together in form of an object. Following link has a nice collection of articles of object oriented programming: http://cs-fundamentals.com/java-programming/java-programming-tutorials.php


What is objected oriented anlaysis and design?

definition of objected oriented analysis and design


What is full form of abbrevation OOAD?

Object Oriented Analysis & Design


How does the object-oriented view of component-level design differ from the traditional view?

The object-oriented view of component-level design emphasizes encapsulation, inheritance, and polymorphism, allowing for reusable and modular components that can be easily integrated and extended. In contrast, the traditional view often focuses on function-oriented design, where components are seen primarily as procedures or functions, leading to tighter coupling and less flexibility. Object-oriented design promotes interaction through well-defined interfaces, enhancing maintainability and scalability. Overall, the object-oriented approach fosters a more holistic and adaptable architecture compared to the more linear, procedural focus of traditional design.


How is Chen-Chen methodology used for object oriented design?

explain win main() function with its all argument.


What are features of process-oriented performance assessment design?

The features of process-oriented performance assessment design is that it contains performance characteristics and objectives. This design can be used multiple number of times.


What is a structure design?

Structured Design is the process of designing the structured-oriented software.


What are the two similar design for desktop computers?

they are horizontally oriented system unit and vertically oriented tower


What is the approach of C programming known as?

Sequential style, or function-oriented. Which is opposed to object-oriented, as in C++.


What has the author David A Taylor written?

David A. Taylor has written: 'Object-oriented technology' -- subject(s): Database design, Object-oriented databases, Development, Computer software 'Object-oriented information systems' -- subject(s): Management information systems, Object-oriented databases, System design


What are the topics on object oriented analysis and design?

exam registeration


How the implementation and design of object oriented database system is differen from non object oriented database system?

DBMS Deesign implementation