Skip to main content

Flow Chart with advantages and disadvantages in C Language:-

    A flowchart is a type of diagram that represents an algorithmworkflow or process. The flowchart shows the steps as boxes of various kinds, and their order by connecting the boxes with arrows. This diagrammatic representation illustrates a solution model to a given problem. Flowcharts are used in analyzing, designing, documenting or managing a process or program in various fields.

 Flow charts are used in analyzing , designing , documenting or managing a process or program in various fields. Like other types of diagrams , they help visualize what is going on and thereby help understand a process , and perhaps also find less-obvious features within the process.


 There are several applications and visual programming languages that use flow charts to represent and execute programs.Generally these are used as teaching tools for beginner students. Many software packages exist that can create flowcharts automatically , either directly from a programming language source code , or from a flowchart description language. It is just a pictorial representation of an algorithm. It uses different shapes to denote different types of instructions.  


 The American National Standards Institute (ANSI) set standards for flowcharts and their symbols in the 1960. The International Organization for Standardization (ISO) adopted the ANSI symbols in 1970.The current standard was revised in 1985. Generally, flowcharts flow from top to bottom and left to right.




ANSI/ISO ShapeNameDescription
Flowchart Line.svgFlow line (Arrowhead)Shows the process's order of operation. A line coming from one symbol and pointing at another.Arrowheads are added if the flow is not the standard top-to-bottom, left-to right.
Flowchart Terminal.svgTerminalIndicates the beginning and ending of a program or sub-process. Represented as a stadium,[ oval or rounded (fillet) rectangle. They usually contain the word "Start" or "End", or another phrase signaling the start or end of a process, such as "submit inquiry" or "receive product".
Flowchart Process.svgProcessRepresents a set of operations that changes value, form, or location of data. Represented as a rectangle.
Flowchart Decision.svgDecisionShows a conditional operation that determines which one of the two paths the program will take. The operation is commonly a yes/no question or true/false test. Represented as a diamond (rhombus).
Flowchart IO.svgInput/OutputIndicates the process of inputting and outputting data, as in entering data or displaying results. Represented as a parallelogram.
Flowchart Annotation.svgAnnotation (Comment)Indicating additional information about a step the program. Represented as an open rectangle with a dashed or solid line connecting it to the corresponding symbol in the flowchart.
Flowchart Predefined Process.svgPredefined ProcessShows named process which is defined elsewhere. Represented as a rectangle with double-struck vertical edges.
Flowchart Connector.svgOn-page ConnectorPairs of labeled connectors replace long or confusing lines on a flowchart page. Represented by a small circle with a letter inside.
Off page connector.pngOff-page ConnectorA labeled connector for use when the target is on another page. Represented as a home plate-shaped pentagon.



An example of flow chart:-
                                                                                                                                                          
   Image result for flow chart in c


Moreover , since a flowchart shows the flow of operation in pictorial form , a programmer can detect any error in the logic with greater ease than in the case of a program. Experianced programmer , sometimes , write programs without drawing a flowchart. However , beginners should first draw a flowchart to reduce the number of errors and omissions in a program. The use of different boxes having standarrised meanings makes it easier to communicate program logic through flowcharts. 


* Flowchart is of generally four types:-
            
  • Document flowcharts:- showing controls over a document-flow through a system.
  • Data flowcharts:---       showing controls over a data-flow in a system.
  • System flowcharts:-     showing controls at a physical or resource level.
  • Program flowchart:-     showing the controls in a program within a system.



       *    There are many advantages of flow charts , which are as follows:-

 i>   It is a pictorial representation of a program. Therefore , it is easier for a programmer to explain the logic of a program to other through a flow chart.

ii>  With the use of flow chart we can effectively analysis the program.

iii>  Once a flow chart is ready , programmer find it very easy to write the corresponding program because the flow chart acts as a road map for them.

iv>  With flow chart the ultimate result is an error-free program developed at a faster rate.

v>  The flow chart often provides valuable documentation support.

vi>  A flow chart is very helpful in detecting , location and removing mistakes (bugs) in a program in a systematic manner because programmers find it easier to follow the logic of the program in flow chart form.

vii>  A flow chart is very helpful in designing test data for systematic testing of programs.


   

     *  In spite of  their many advantages , flow chart have the the following disadvantages :-

i> Flow charts are very time consuming and laborious to draw with proper symbols and spacing , especially for large complex program.

ii>  Because of the symbol-string nature of flow chart , any change or modification in program logic usually requires a completely new flow chart.

iii>  Redrawing a flow chart is very tedious task.

iv>  There are no standards determining the amount of detail that should be included in a flow chart.

v>  Sometimes , the program logic is quite complicated , in that case , flow chat becomes complex and clumsy.

vi>  As the flow chart symbols cannot be typed , reproductions of flow chat becomes a problem.

vi>  It is just a visualization of a program , it cannot function like an actual program.



Watch on system for better experience  😃😄😄😄

Comments

Popular posts from this blog

Process Scheduling And Types of Process Schedular :-

        ⇰ PROCESS SCHEDULING Process Scheduling  is a task  of Operating System that schedules processes of different states like new, ready, waiting, terminated  and running.This scheduling helps in allocation of CPU time for each process, and Operating System allocates the CPU time for each procss. And the process scheduling plays important role to keep the CPU busy all the time.  ⏩   Followings are some objectives of Process Scheduling :-  i > To increase the amount of users within acceptable response times.  ii > To maintain the balance between response and utilization of system. iii > To decrease the enforce priorities and  give reference to the processes holding the key resources.      ⇰  PROCESS SCHEDULAR A scheduler carries out the pro cess scheduling work. Schedulers are often implemented so they keep all computer resources busy and  allows multiple users to shar...

Process & Its state And process control block :-

                ⇰  PROCESS :- A process can be thought of as a program in execution. Means when any program is executed it becomes process. A processwill need certain resources such as CPU time , memory, files and I/O devices to complete its task. These resources are allocated to the process either when it is created or at the time of execution.             A process is the unit of work in most systems. A system consistes of a collection of processes. All these processes may execute concurrently. Traditionally a process contained only a single thread. Most modern operating ststems now supports processes that have multiple threads.         The operating system is responsible for several important works of process management as - the creation and deletion of process, the schrduling of process, communication and deadlock handling of process. Process is broudly divided into two ...

Tokens and its types in 'C'

   Tokens are the smallest individual unit of a program or in simple words it is a main part of C program.Tokens are the building blocks of any program. The smallest individual and basic unit of a C programming is called c tokens.      *    Normally there are six types of tokens in C:- i> Keywords:-          Keywords are special words that are used to give a special meaning to the program and can't be used as variable and constant.They are basically a sequence of characters that have fixed to mean. For example:-                 auto     double      long     break                 float    short        char     if                while    continue   int       void etc. All...