Wednesday, 14 March 2012

Algorithms & Flow Charts


Algorithms:-
         
          Algorithm is a set of instructions which describes the steps to be followed to get the solution of a problem. We can also say that algorithm is step by step solution to the problem and is easy to understand debugging of algorithm is easy. Except it algorithm can be easily coded into its equivalent high level language.

Flow Charts:-

          A flowchart is a graphical representation of the sequence of operations for the solution of a problem.
          Flowchart is basically the plan to be followed when the program is written. It acts like a road map for a programmer and guide him how to go from the starting point to the final point while writing a computer program.
          Flowchart uses boxes of different shapes to denote different types of instructions. These boxes are connected by solid lines having arrow marks to indicate flow of operation. Boxes used are :-

       Symbol                                                 Description

                  
                                                        Start / End

 

                                                    Input / Output


 
                                                        Processing 

                                                                               
                                              Condition




                                                                 Flow Lines




                                    

No comments:

Post a Comment