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 share system resources  to achieve  multiprogramming .  There are  mainy three types of pro

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 keywords must be written in lower case.It is 32 in number. ii> Identifiers:-         The identifiers are basically a token. It can be a variable's name or a label's name. So identifiers are actually a user defined data. But there are certain rules to frame an identifier. They are as follo

Micromax 'The Indian Smart Phone Company'

Micromax  is an Indian  consumer electronics  company headquartered in  Gurgaon ,  Haryana . It was established as an  IT   Software  company operating in the  Embedded Devices   Domain . It later entered the  Mobile   Handset  business. Micromax was incorporated as Micromax Informatics Ltd. on 29 March 2000 by Zeeshan Ali Zaidi. It began selling mobile telephones in 2008,  focusing on  low pricing to compete with international brands. By 2010, Micromax was one of the largest domestic companies making handsets in the low-cost feature phone segment in India. As of Q3 2014, Micromax is the  Tenth Largest   Smart phone  vendor in the world. The company is facing stiff competition from Chinese companies that are penetrating the Indian market. The company also owns  YU Televentures , which sells its products under the brand name YU. The company has also introduced handsets with innovative features. For instance, Micromax's co-founder  Rahul Sharma  once saw a  public call