Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to represent functions in flowchart?

Tags:

c

flowchart

I define some function in my Ansi C Program (simple program). I don't known how to represent a function in flowchart. Anybody can help me?

like image 528
asedra_le Avatar asked Dec 20 '10 13:12

asedra_le


People also ask

How do you show functions in a flowchart?

Common flowchart symbols Also known as an “Action Symbol,” this shape represents a process, action, or function. It's the most widely-used symbol in flowcharting. Also known as the “Terminator Symbol,” this symbol represents the start points, end points, and potential outcomes of a path.

What is a flow diagram in functions?

You look at each individual external entity and the functions within your organization that action or support these interactions. The functional flow diagram is a simple model showing each functional area or stakeholder internal to your organization, and how they interact in the logical overall flow of work.

Is it possible to represent sub functions in a flowchart?

Yes, a functional aspect represented in your flowchart may directly map to a single function in your C program, but it may be that multiple functions or multiple threads are used to accomplish it as well.

How do you represent a loop in a flowchart?

Here again, a hexagon shaped flowchart symbol is used to represent the for loop and the symbol is divided into three to represent the initial condition, the increment, and the terminating condition.


1 Answers

In my opinion, a flowchart is more of a functional description of your algorithm and not where you would "define" a function in the sense of your program. Yes, a functional aspect represented in your flowchart may directly map to a single function in your C program, but it may be that multiple functions or multiple threads are used to accomplish it as well. The flowchart isn't where you would describe these.

In short, the flowchart is not where you should be "defining" functions for your C program. It should be a high-level representation of functional aspects of your program, not the implementation of it.

like image 109
RC. Avatar answered Sep 21 '22 00:09

RC.