Algorithm and Flowchart concept

Algorithm

An algorithm is defined as sequence of steps to solve a problem (task). The steps must be finite, well defined and unambiguous. Writing algorithm requires some thinking. Algorithm can also be defined as a plan to solve a problem and represents its logic. Note that an algorithm is of no use if it does not help us arrive at the desired solution.

Algorithm characteristics
  1. It should have finite number of steps. No one can be expected to execute infinite number of steps.
  2. The steps must be in order and simple
  3. Each step should be defined clearly stated e. without un-ambiguity (without doubtfulness)
  4. Must include all required information
  5. Should exhibit at least one output

Flowchart

A flowchart is a pictorial (graphical) representation of an algorithm. A flowchart is drawn using different kinds of symbols. A symbol is used for a specific purpose. Each symbol has name.

Disadvantages of Flowcharts

Takes more time to draw. Imagine developing a detailed flowchart for a program containing 50000

lines or statements of instructions

algorithm_flowchart_program

algorithm_characteristics

Gopal Krishna

Hey Engineers, welcome to the award-winning blog,Engineers Tutor. I'm Gopal Krishna. a professional engineer & blogger from Andhra Pradesh, India. Notes and Video Materials for Engineering in Electronics, Communications and Computer Science subjects are added. "A blog to support Electronics, Electrical communication and computer students".

Leave a Reply

Your email address will not be published. Required fields are marked *

Translate »