Introduction to Flowcharts in Algorithms
Introduction to Flowcharts in Algorithms
to
Flowcharts
in
Algorithms
Understanding the
Basics and
Applications
Agenda
• Introduction to • Examples
Flowcharts Algorithms with
Flowcharts
• Importance in
Algorithms • Common
Mistakes to Avoid
• Basic Symbols
and Their • Practice
Meanings Exercises
• Constructing • Q & A Sessions
Flowcharts
Introduction to Flowcharts
• Flowcharts are algorithms that use symbols to depict the INPUT , PROCESSING
and OUTPUT of data and information.
• They help in visualizing the steps of an algorithm to improve understanding and
communication.
• The symbols use the same terms to illustrate the flow of data as the statements
in pseudocode.
Importance
of
Flowcharts
in
Algorithms
• Clarity
• Visualization
• Communication
• Debugging
1. Define the Purpose and Scope
2. Identify the steps in the process
3. Determine the sequence of steps
4. Draw the Flowchart using Correct
Symbols
5. Review and Revise
Constructing
Flowcharts
Basic Symbols in Flowcharts
Also called conditional statements.
Used to ask questions to determine
the next step or option. One line in
Used to identify the start and end of a
but more than one line out.
flowchart
• Misusing Symbols • Use arrow heads on flow lines where the direction of flow may
not be obvious.
• Overcomplicating Flowcharts • The main symbols used in a flowchart are the Decision (also
known as selection) and the Process symbols.
• Poor Layout • The flow of sequence is generally from the top of the page to
the bottom of the page. Except when there is a loop that
• Skipping steps needs to flow back to a process or decision.
• Decisions only have one entry point, One TRUE(or YES) entry
point and one FALSE(or NO) exit point
Practice Question