Session-4: Designing Flowchart and Algorithms
1. Aim of the Session
Importance of flowchart and its usage in programming environment
To learn problem solving and designing techniques
To focus on various applications of flowcharts and its implications
2. Objectives
This Session is designed to:
To define the basic concept of flow chart and its implications
To define the programming logic design and techniques
To discuss the basic concept flowchart to develop the programming based on
algorithms.
3. Learning Outcomes: At the end of this session, you should be able to:
Design flow charts to solve real life computational problems.
Able to develop the flowchart based on real life conditions
Able to simplified the problems based on
4. Session Introduction
Flowchart is graphical representation of sequence of steps of a program which are based on
specific conditions and real life problems. It shows the complete relationship between
possible steps which are taken during the program development.
When using flowcharts
It is very important when programmers work on projects. Flowcharts are loved by
many as they are easy steps to visualize the project design.
When the flowchart of a process is drawn, the programmer understands the
inefficiency of the process. Therefore, flowcharts are used to separate important
points from unnecessary ones.
Because there are many rules and procedures for drawing flowcharts, flowcharts can
be a way of communication to achieve better agreement between people working on
the same project.
Optimizing the process is now easier with flowcharts. Code efficiency is increased
with flowchart drawing.
Table 1.1: Flowcharts Symbols and Description
Symbol Symbol Name Purpose
It is used to start and stop the process
Start/Stop
Oval
It is indicated the process model – mathematical
Process
Rectangle
It is represented to input and output mode of data
Input / Output entering and output
Rhombus
Decision Box It is represented the conditional statement for
decision making process
Decision Box
Arrow It is represented the flow of data and process.
Arrow
It is represented the connectors to connect the
Connector one process to another process
Circle
It is represented to connect to different pages
Off Page connector flowchart connectors.
Opp.
Pentagon
5. Session Description
1. Every flowchart can have one start and one stop symbol
2. It is represented the graphical flow of data and input and output
3. One page connector referencing to number of another page connectos
4. Off page connectors are represented using alphabet
5. The flow of process represented from top to bottom and left to right
6. Arrow should not be crossed to each other during designing of flowchart.
6. Activities related to the Session
Develop a flowchart to withdrawal cash from ATM machines
Develop a flowchart to get admission in KLEF- KL University
Develop a flowchart for bill preparation based on discounts offers by Mega-
marts
7. Examples & Contemporary Extracts of Articles / Practices to convey the idea of the Session
Case-1. Going to market and purchase a burger
Fig. 1.1: Flowchart for purchase a burger from market
Types of Flowchart
1. Sequence Flow chart
2. Selection Flowchart
3. Iterative Flowchart
8. Table Numbering
Table 1.1: Flowcharts Symbols and Description
9. Figures with caption
Fig. 1.1: Flowchart for purchase a burger from market
10. Self-Assessment Questions (SAQs)
Q1. What is flowchart?
Q2. What is significant role of flowchart for designing for developing algorithms and programs?
Q3. What is role decision making symbol?
11. Summary
In this session we learned about the graphical representation of data or a algorithms and
programs. It is one of the simplest process to programming logic design technique based on
real life problems. We belief that this session that would be most benefited for the students
who are going to learn basic concept of programming. The designing of flowchart can be
implemented on any programming language.
12 Terminal Questions: Problem Solving Approach
2.Find out the Odd/Even based on Modulus value of a
3.Find out the Average based on iterative process
14. References of Books / Websites / Link
1. Dennis M Ritchie,” The C programming Language: ANSI C version”, Prentice Hall
Publication
2. E Balaguruswami,” Programming ANSI C” , Tata McGraw- Hill Publication
3. Yawant Kanetakar,” Let us C”
Sites and Web links:
https://www.tutorialspoint.com/programming_methodologies/programming_methodologies_flo
wchart_elements.htm#
15. Keywords
Flowcharts, start and terminal symbols, decision making process, connectors