Flow Chart




Flow chart :-  Graphical way of writing pseudocode  

                         

   1.Decision - A selection statement can be choose a  specific path dependent on a condition

   2.Repetition - Allows for a portion of an algorithm to be excuted any number  of times dependent on some condition being met.

3.Input/Output - Receving or giving information                                                                            

4. Flow lines                                                                                                                                  
                            
 5.Start / end                                                                                                                                      

flowchart , pseudocode advantages and disadvantages 

flowchart                                                                                             
                       Advantages : standadied                                                 
                                             visual            
                                                         
 Disadvantages :   Hard to modify  
                              stuctured design elemented
                              special software required                                                

Psedocode                                                                                          
Advantages :   Easily to modified                                           
                        Implements stuctured concepts.           
                         Done easily on word processor
 Disadvantages : No of visual 
                            No accepted standed                                                    
                            varries from company to company                         
                                                                     


Symbols and functions



                                                                                                              
Example:-      Choose a Favorite Fruit                               
Do not know which fruit is your favorite fruit? Creating a flowchart like below to find out your answer.              


Eg:- reads two numbers of sum draw the flowchart                                                      
       
Pseudocode                                                                                                                 
Begin                                                                                            
     Input two numbers a,b                                                      
     Total = a + b                                                                      
     Display Total                                                                    
End                                                                                             

         Flowchart













Comments