Lesson 8 - Flowchart
Lesson 8 - Flowchart
Lesson 8 - Flowchart
Algorithms and
Flowchart
Outline:
1. Algorithms
2. Program Development Process
3. Flowchart
4. Symbols and Functions
5. Types of flowchart
6. Advantages and disadvantages
7. Sample Problem
Program Development Process
Problem Analysis
Program Design
Program Coding
Program Testing
and Debugging
Program
Documentation and
Maintenance
Algorithm
• Is a sequence of steps required to solve a problem.
• It is a list of well defined instructions to solve a
problem.
I N PU T
PROCESS
O U T PUT
DECI SI O N
EN D
Types of flowchart
Input
Name,HrlyRate,
HrsWork,
Deduction
Problem 1:
GrossPay = Hrly * HrsWork
pay.
End
Figure 1.1
Figure 1.2
Advantages of Flow Charts
A good way to communicate the details of a task or
processes to others
An excellent way of documenting each stage of the
process
Acts a blue print guiding the programmer through
the development
Disadvantages of Flow Charts
Some tasks are difficult to represent using a flow
chart
If and alteration is made then the flow chart may
need to be redrawn
People need to understand what the symbols mean
Programs – a list of organized instructions that the computer must follow
in order to process data into information.
Programming – art and science of creating programs, also called as
software engineering.
Coding – the actual writing of the program.
Algorithm – a set of ordered steps for solving a problem an essentially a
synonym of logic.
Syntax – consists of the rules governing the structure and content of the
statements.
Data – information processed or stored by a computer. This information
may be in characters, integers, decimal or float etc.
Variables – names used to refer to some location in Memory – a location
that holds a value with which we are working.
The End!