0% found this document useful (0 votes)
9 views

Introduction to Flowcharts in Algorithms

The document introduces flowcharts as a visual representation of algorithms, emphasizing their role in clarifying, visualizing, and communicating processes. It outlines the basic symbols used in flowcharts, the importance of proper construction, and common mistakes to avoid. Additionally, it includes a practice question to reinforce understanding of flowchart applications in algorithms.
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Introduction to Flowcharts in Algorithms

The document introduces flowcharts as a visual representation of algorithms, emphasizing their role in clarifying, visualizing, and communicating processes. It outlines the basic symbols used in flowcharts, the importance of proper construction, and common mistakes to avoid. Additionally, it includes a practice question to reinforce understanding of flowchart applications in algorithms.
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 10

Introduction

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

Used to link an external element or


detail not included in the visible
(Input/Output) Used to accept data or
flowcharts
output information

Lines with arrow heads determine the


Statements in this symbol perform flow of data from one symbol to
calculations another
Example: Simple Algorithm

Problem: Find the sum of Two


Numbers
Common Mistakes to Avoid
and Things to Remember
Remember

• Every Flowchart must have a START symbol and a STOP


Mistakes symbol. These are called the Terminators

• 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.

• Processes Enlist colleagues to listen & provide feedback

• Decisions only have one entry point, One TRUE(or YES) entry
point and one FALSE(or NO) exit point
Practice Question

1. Find the average of two


temperatures
Thank you

You might also like