SlideShare a Scribd company logo
Flowchart is a diagram that uses a set of standard graphic symbols to
represent the sequence of coded instructions fed into a computer, enabling it
to perform specified logical and arithmetical operations. A computer program
consists of many processes and flows. Flowcharts are used to
visualize the processes and make them understandable for
non-technical people. They are also used to visualize algorithms and
comprehend pseudo-code which is used in programming.
Essential Concepts and Terminologies:
Flowchart – It is a step-by-step approach or process presented in
diagram to solve a given task.
Input – It is the act of entering data or information into the
computer for processing.
Output - The information produced by the computer after
processing.
Process – It is the operation or action of data as per given
instruction.
INTRODUCTION:
DISCUSSION
How do you solve the area of a right triangle?
Flowchart: Working with Terminator,
Initialization, Input, Output and Process Symbol
Let us learn the important
words needed to
understand our topic
𝐴 =
𝑎𝑏
2
𝑏
𝑐
𝑎
Show me your steps.
Click me to open the link
and provide me the teps.
Study the flowchart below.
List down 5 things you have observed about the flowchart.
SYMBOL NAME DESCRIPTION
TERMINAL/TERMINATOR
It represents the start and the end of a
flowchart.
INITIALIZATION
It denotes the preparation of memory
space for data processing.
INPUT/OUTPUT
It represents the inputting of data for
processing and showing the result
after manipulating the data.
PROCESS
It is used for arithmetic operations and
data-manipulations.
FLOWLINES
It represents the flow of the sequence
and direction of a process.
DECISION
It the process condition using relational
operators and is used for trapping and
filtering data.
ON – PAGE CONNECTOR
This symbol would contain a letter
inside. It indicates that the flow
continues on a matching symbol
containing the same letter onthesame
page.
OFF – PAGE CONNECTOR
This symbol would contain a letter
inside. It indicates that the flow
continues on a matching symbol
containing the same letter on a
different page.
A=0, a=0,
b=0
Begin Input
a, b
Output
A
A=(a*b)/2 Begin
Below are the symbols
used in flowcharting. Let
us study their functions.
Can you name the different flowchart
symbols here? I know you do. Click
me to open the link and give your
answers.
START
STOP
START
STOP
A flowchart always commences with the
instruction START or BEGIN . Always use the
pairs START – STOP or BEGIN – END.
Initialization symbol is where you prepare the
variables to be available for use and allocation of
memory space for your data storage. As a rule,
always draw this symbol to state the use of
computer memory.
The processing symbol is used in assignment
of new value to the variables and mathematical
computations.
Since we used START in the opening of our
flowchart, we should use STOP for consistency.
Program flowchart is the simplest way to figure out if there are bugs
or errors in a program before carrying it out. Flowcharting is as easy as
typing ABC or counting 123, the challenging part is the analysis. To be
familiar in drawing flowcharts, the learning exercises below will guide
us in understanding the foundations needed in logic formulation.
Analysis:
It is clearly stated that our objective is to
store the value of variable XtoY. Therefore,
variable Y is the destructive variable and
variable X is the constructive variable. The
value ofY isnot needed in thisproblem due
to the fact that variable Y will destroy its
original value and will get the value of X.
Problem 1:
Create a flowchart that will store
the value of variable X to variable
Y, where variable X = 10.
STOP
D
The expression Y=X is an
assignment operation. The value of
X which is 10, is assigned to Y,
destroying the original value, O of Y.
After the processthe value of Y is 10.
Start
X = 10
Y = 0
Y = X
Stop
The 3 things to remember in the
use of initialization in this
flowchart:
1. Assign memory locations
for X and Y;
2. Allocate number 10 to
variable Y; and
3. Assure that variable Y has
no value.
A B C
Analyze this:
Glass A contains Grape Juice,
Glass B is water, and
Glass C contains Lemon Juice
Your task is to TRANSFER the contents
without switching the places of the
glass. Don’t mix them:
Glass A should contain water,
Glass B is Lemon Juice, and
Glass C should be Grape Juice.
I’ll mix them
later… Ithink it will
taste better!
A= 75% A= 50% A= 90%
A = 75, B = 50
C = 90
D = 0
START
Add another empty Glass!
Now, we can transfer the
contents to a temporary
container. Let us name this as
Glass D. It is empty so the value
is zero (0).
A = 75
B = 50
C = 90
START
?
We can now complete
our flowchart. Let’s
transfer the contents
where each should
belong.
A = 75, B = 50
C = 90, D = 0START
D A
D = A
B
A = B
A
D
B
C
B = C
C = D
C
The problem is represented
in a flowchart below.
So, how do we solve this
problem?
SUMMARY:
INSIGHTS:
Programmers integrate ideas to a code is no
simple way. Being new to programming, we
might not be ready yet to overcome the
challenges. Programmers suggest to
observe the use of flowchart to at least
minimize and overcome these challenges.
So, try to solve the preceding problem.
Problem: Illustrate a flowchart
that will accept two integers
and print the sum.
START
X=0,
Y=0
S=0
S = X+Y
Input
(X, Y)
Output
(S)
Stop
FIRST: Assign memory locations for
X & Y for the two integer values.
Variable S for the sum of the two
integer value.
SECOND: User shall input
integer values for
variables X and Y.
THIRD: The value of X is
added to Y, and then
stored to S.
FOURTH: The value of
variable S is then
displayed in the
Output.
Flowcharts help computer programmers to create the most
well-organized coding for computers. Programmers can
clearly see where the data is going to end up.
Flowcharts can help computer programmers figure out where
a potential computer bugs or problems area is and helps them
in debugging or cleaning up code that is not working.
Input or Output is the part of the program
that the user sees. Input is the only way
to send data to the computer for
processing. Input data can be numeric
value, character or string.
X Y, S

More Related Content

What's hot

Lab 2
Lab 2Lab 2
C programming codes for the class assignment
C programming codes for the class assignmentC programming codes for the class assignment
C programming codes for the class assignment
Zenith SVG
 
Theory3
Theory3Theory3
Flowchart pseudocode-examples
Flowchart pseudocode-examplesFlowchart pseudocode-examples
Flowchart pseudocode-examples
Gautam Roy
 
2. introduction of a c program
2. introduction of a c program2. introduction of a c program
2. introduction of a c program
Alamgir Hossain
 
S1 0 derivadas
S1 0 derivadasS1 0 derivadas
S1 0 derivadas
jesquerrev1
 
C strings
C stringsC strings
C strings
Ducat
 
Programa
ProgramaPrograma
Programa
henriquez1986
 
Linear regression
Linear regression Linear regression
Linear regression
mohamed Naas
 
Coper in C
Coper in CCoper in C
Coper in C
thirumalaikumar3
 
ML - Multiple Linear Regression
ML - Multiple Linear RegressionML - Multiple Linear Regression
ML - Multiple Linear Regression
Andrew Ferlitsch
 
Simulation - Generating Continuous Random Variables
Simulation - Generating Continuous Random VariablesSimulation - Generating Continuous Random Variables
Simulation - Generating Continuous Random Variables
Martin Kretzer
 
Bcsl 033 data and file structures lab s2-1
Bcsl 033 data and file structures lab s2-1Bcsl 033 data and file structures lab s2-1
Bcsl 033 data and file structures lab s2-1
Dr. Loganathan R
 
Data analysis on bank data
Data analysis on bank dataData analysis on bank data
Data analysis on bank data
ANISH BHANUSHALI
 

What's hot (14)

Lab 2
Lab 2Lab 2
Lab 2
 
C programming codes for the class assignment
C programming codes for the class assignmentC programming codes for the class assignment
C programming codes for the class assignment
 
Theory3
Theory3Theory3
Theory3
 
Flowchart pseudocode-examples
Flowchart pseudocode-examplesFlowchart pseudocode-examples
Flowchart pseudocode-examples
 
2. introduction of a c program
2. introduction of a c program2. introduction of a c program
2. introduction of a c program
 
S1 0 derivadas
S1 0 derivadasS1 0 derivadas
S1 0 derivadas
 
C strings
C stringsC strings
C strings
 
Programa
ProgramaPrograma
Programa
 
Linear regression
Linear regression Linear regression
Linear regression
 
Coper in C
Coper in CCoper in C
Coper in C
 
ML - Multiple Linear Regression
ML - Multiple Linear RegressionML - Multiple Linear Regression
ML - Multiple Linear Regression
 
Simulation - Generating Continuous Random Variables
Simulation - Generating Continuous Random VariablesSimulation - Generating Continuous Random Variables
Simulation - Generating Continuous Random Variables
 
Bcsl 033 data and file structures lab s2-1
Bcsl 033 data and file structures lab s2-1Bcsl 033 data and file structures lab s2-1
Bcsl 033 data and file structures lab s2-1
 
Data analysis on bank data
Data analysis on bank dataData analysis on bank data
Data analysis on bank data
 

Similar to Flowcharting

Chap6
Chap6Chap6
Cp module 2
Cp module 2Cp module 2
Cp module 2
Amarjith C K
 
Algorithms and flowcharts
Algorithms and flowchartsAlgorithms and flowcharts
Algorithms and flowcharts
Samuel Igbanogu
 
Scilab as a calculator
Scilab as a calculatorScilab as a calculator
Scilab as a calculator
Scilab
 
Flowchart and algorithm
Flowchart and algorithmFlowchart and algorithm
Flowchart and algorithm
DHANIK VIKRANT
 
ICP - Lecture 6
ICP - Lecture 6ICP - Lecture 6
ICP - Lecture 6
Hassaan Rahman
 
AlgorithmAndFlowChart.pdf
AlgorithmAndFlowChart.pdfAlgorithmAndFlowChart.pdf
AlgorithmAndFlowChart.pdf
SusieMaestre1
 
Flowcharting and Algorithm
Flowcharting and Algorithm Flowcharting and Algorithm
Flowcharting and Algorithm
Zeinna Belle Desamito
 
MATLAB Basics-Part1
MATLAB Basics-Part1MATLAB Basics-Part1
MATLAB Basics-Part1
Elaf A.Saeed
 
lec_4_data_structures_and_algorithm_analysis.ppt
lec_4_data_structures_and_algorithm_analysis.pptlec_4_data_structures_and_algorithm_analysis.ppt
lec_4_data_structures_and_algorithm_analysis.ppt
Mard Geer
 
lec_4_data_structures_and_algorithm_analysis.ppt
lec_4_data_structures_and_algorithm_analysis.pptlec_4_data_structures_and_algorithm_analysis.ppt
lec_4_data_structures_and_algorithm_analysis.ppt
SourabhPal46
 
Basics of c++
Basics of c++ Basics of c++
Basics of c++
Gunjan Mathur
 
Lecture1-Algorithms-and-Flowcharts-ppt.ppt
Lecture1-Algorithms-and-Flowcharts-ppt.pptLecture1-Algorithms-and-Flowcharts-ppt.ppt
Lecture1-Algorithms-and-Flowcharts-ppt.ppt
ReshuReshma8
 
Basic Slides on Algorithms and Flowcharts
Basic Slides on Algorithms and FlowchartsBasic Slides on Algorithms and Flowcharts
Basic Slides on Algorithms and Flowcharts
moazwinner
 
3 algorithm-and-flowchart
3 algorithm-and-flowchart3 algorithm-and-flowchart
3 algorithm-and-flowchart
Rohit Shrivastava
 
Lec2
Lec2Lec2
From zero to MATLAB hero: Mastering the basics and beyond
From zero to MATLAB hero: Mastering the basics and beyondFrom zero to MATLAB hero: Mastering the basics and beyond
From zero to MATLAB hero: Mastering the basics and beyond
MahuaPal6
 
comp 122 Chapter 2.pptx,language semantics
comp 122 Chapter 2.pptx,language semanticscomp 122 Chapter 2.pptx,language semantics
comp 122 Chapter 2.pptx,language semantics
floraaluoch3
 
Flowchart - Introduction and Designing Tools
Flowchart - Introduction and Designing ToolsFlowchart - Introduction and Designing Tools
Flowchart - Introduction and Designing Tools
Jawad Khan
 
Flowcharts
FlowchartsFlowcharts
Flowcharts
parimala123
 

Similar to Flowcharting (20)

Chap6
Chap6Chap6
Chap6
 
Cp module 2
Cp module 2Cp module 2
Cp module 2
 
Algorithms and flowcharts
Algorithms and flowchartsAlgorithms and flowcharts
Algorithms and flowcharts
 
Scilab as a calculator
Scilab as a calculatorScilab as a calculator
Scilab as a calculator
 
Flowchart and algorithm
Flowchart and algorithmFlowchart and algorithm
Flowchart and algorithm
 
ICP - Lecture 6
ICP - Lecture 6ICP - Lecture 6
ICP - Lecture 6
 
AlgorithmAndFlowChart.pdf
AlgorithmAndFlowChart.pdfAlgorithmAndFlowChart.pdf
AlgorithmAndFlowChart.pdf
 
Flowcharting and Algorithm
Flowcharting and Algorithm Flowcharting and Algorithm
Flowcharting and Algorithm
 
MATLAB Basics-Part1
MATLAB Basics-Part1MATLAB Basics-Part1
MATLAB Basics-Part1
 
lec_4_data_structures_and_algorithm_analysis.ppt
lec_4_data_structures_and_algorithm_analysis.pptlec_4_data_structures_and_algorithm_analysis.ppt
lec_4_data_structures_and_algorithm_analysis.ppt
 
lec_4_data_structures_and_algorithm_analysis.ppt
lec_4_data_structures_and_algorithm_analysis.pptlec_4_data_structures_and_algorithm_analysis.ppt
lec_4_data_structures_and_algorithm_analysis.ppt
 
Basics of c++
Basics of c++ Basics of c++
Basics of c++
 
Lecture1-Algorithms-and-Flowcharts-ppt.ppt
Lecture1-Algorithms-and-Flowcharts-ppt.pptLecture1-Algorithms-and-Flowcharts-ppt.ppt
Lecture1-Algorithms-and-Flowcharts-ppt.ppt
 
Basic Slides on Algorithms and Flowcharts
Basic Slides on Algorithms and FlowchartsBasic Slides on Algorithms and Flowcharts
Basic Slides on Algorithms and Flowcharts
 
3 algorithm-and-flowchart
3 algorithm-and-flowchart3 algorithm-and-flowchart
3 algorithm-and-flowchart
 
Lec2
Lec2Lec2
Lec2
 
From zero to MATLAB hero: Mastering the basics and beyond
From zero to MATLAB hero: Mastering the basics and beyondFrom zero to MATLAB hero: Mastering the basics and beyond
From zero to MATLAB hero: Mastering the basics and beyond
 
comp 122 Chapter 2.pptx,language semantics
comp 122 Chapter 2.pptx,language semanticscomp 122 Chapter 2.pptx,language semantics
comp 122 Chapter 2.pptx,language semantics
 
Flowchart - Introduction and Designing Tools
Flowchart - Introduction and Designing ToolsFlowchart - Introduction and Designing Tools
Flowchart - Introduction and Designing Tools
 
Flowcharts
FlowchartsFlowcharts
Flowcharts
 

Recently uploaded

06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
Timothy Spann
 
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
v7oacc3l
 
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data LakeViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
Walaa Eldin Moustafa
 
The Ipsos - AI - Monitor 2024 Report.pdf
The  Ipsos - AI - Monitor 2024 Report.pdfThe  Ipsos - AI - Monitor 2024 Report.pdf
The Ipsos - AI - Monitor 2024 Report.pdf
Social Samosa
 
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdfUdemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Fernanda Palhano
 
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging DataPredictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Kiwi Creative
 
Intelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicineIntelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicine
AndrzejJarynowski
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
aqzctr7x
 
Learn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queriesLearn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queries
manishkhaire30
 
一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理
zsjl4mimo
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
Timothy Spann
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
Timothy Spann
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
soxrziqu
 
Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...
Bill641377
 
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
74nqk8xf
 
Experts live - Improving user adoption with AI
Experts live - Improving user adoption with AIExperts live - Improving user adoption with AI
Experts live - Improving user adoption with AI
jitskeb
 
一比一原版(Chester毕业证书)切斯特大学毕业证如何办理
一比一原版(Chester毕业证书)切斯特大学毕业证如何办理一比一原版(Chester毕业证书)切斯特大学毕业证如何办理
一比一原版(Chester毕业证书)切斯特大学毕业证如何办理
74nqk8xf
 
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
nuttdpt
 
Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......
Sachin Paul
 
Everything you wanted to know about LIHTC
Everything you wanted to know about LIHTCEverything you wanted to know about LIHTC
Everything you wanted to know about LIHTC
Roger Valdez
 

Recently uploaded (20)

06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
 
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
 
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data LakeViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
 
The Ipsos - AI - Monitor 2024 Report.pdf
The  Ipsos - AI - Monitor 2024 Report.pdfThe  Ipsos - AI - Monitor 2024 Report.pdf
The Ipsos - AI - Monitor 2024 Report.pdf
 
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdfUdemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
 
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging DataPredictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
 
Intelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicineIntelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicine
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
 
Learn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queriesLearn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queries
 
一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
 
Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...
 
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
 
Experts live - Improving user adoption with AI
Experts live - Improving user adoption with AIExperts live - Improving user adoption with AI
Experts live - Improving user adoption with AI
 
一比一原版(Chester毕业证书)切斯特大学毕业证如何办理
一比一原版(Chester毕业证书)切斯特大学毕业证如何办理一比一原版(Chester毕业证书)切斯特大学毕业证如何办理
一比一原版(Chester毕业证书)切斯特大学毕业证如何办理
 
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
 
Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......
 
Everything you wanted to know about LIHTC
Everything you wanted to know about LIHTCEverything you wanted to know about LIHTC
Everything you wanted to know about LIHTC
 

Flowcharting

  • 1. Flowchart is a diagram that uses a set of standard graphic symbols to represent the sequence of coded instructions fed into a computer, enabling it to perform specified logical and arithmetical operations. A computer program consists of many processes and flows. Flowcharts are used to visualize the processes and make them understandable for non-technical people. They are also used to visualize algorithms and comprehend pseudo-code which is used in programming. Essential Concepts and Terminologies: Flowchart – It is a step-by-step approach or process presented in diagram to solve a given task. Input – It is the act of entering data or information into the computer for processing. Output - The information produced by the computer after processing. Process – It is the operation or action of data as per given instruction. INTRODUCTION: DISCUSSION How do you solve the area of a right triangle? Flowchart: Working with Terminator, Initialization, Input, Output and Process Symbol Let us learn the important words needed to understand our topic 𝐴 = 𝑎𝑏 2 𝑏 𝑐 𝑎 Show me your steps. Click me to open the link and provide me the teps.
  • 2. Study the flowchart below. List down 5 things you have observed about the flowchart. SYMBOL NAME DESCRIPTION TERMINAL/TERMINATOR It represents the start and the end of a flowchart. INITIALIZATION It denotes the preparation of memory space for data processing. INPUT/OUTPUT It represents the inputting of data for processing and showing the result after manipulating the data. PROCESS It is used for arithmetic operations and data-manipulations. FLOWLINES It represents the flow of the sequence and direction of a process. DECISION It the process condition using relational operators and is used for trapping and filtering data. ON – PAGE CONNECTOR This symbol would contain a letter inside. It indicates that the flow continues on a matching symbol containing the same letter onthesame page. OFF – PAGE CONNECTOR This symbol would contain a letter inside. It indicates that the flow continues on a matching symbol containing the same letter on a different page. A=0, a=0, b=0 Begin Input a, b Output A A=(a*b)/2 Begin Below are the symbols used in flowcharting. Let us study their functions.
  • 3. Can you name the different flowchart symbols here? I know you do. Click me to open the link and give your answers. START STOP START STOP A flowchart always commences with the instruction START or BEGIN . Always use the pairs START – STOP or BEGIN – END. Initialization symbol is where you prepare the variables to be available for use and allocation of memory space for your data storage. As a rule, always draw this symbol to state the use of computer memory. The processing symbol is used in assignment of new value to the variables and mathematical computations. Since we used START in the opening of our flowchart, we should use STOP for consistency. Program flowchart is the simplest way to figure out if there are bugs or errors in a program before carrying it out. Flowcharting is as easy as typing ABC or counting 123, the challenging part is the analysis. To be familiar in drawing flowcharts, the learning exercises below will guide us in understanding the foundations needed in logic formulation. Analysis: It is clearly stated that our objective is to store the value of variable XtoY. Therefore, variable Y is the destructive variable and variable X is the constructive variable. The value ofY isnot needed in thisproblem due to the fact that variable Y will destroy its original value and will get the value of X. Problem 1: Create a flowchart that will store the value of variable X to variable Y, where variable X = 10.
  • 4. STOP D The expression Y=X is an assignment operation. The value of X which is 10, is assigned to Y, destroying the original value, O of Y. After the processthe value of Y is 10. Start X = 10 Y = 0 Y = X Stop The 3 things to remember in the use of initialization in this flowchart: 1. Assign memory locations for X and Y; 2. Allocate number 10 to variable Y; and 3. Assure that variable Y has no value. A B C Analyze this: Glass A contains Grape Juice, Glass B is water, and Glass C contains Lemon Juice Your task is to TRANSFER the contents without switching the places of the glass. Don’t mix them: Glass A should contain water, Glass B is Lemon Juice, and Glass C should be Grape Juice. I’ll mix them later… Ithink it will taste better! A= 75% A= 50% A= 90% A = 75, B = 50 C = 90 D = 0 START Add another empty Glass! Now, we can transfer the contents to a temporary container. Let us name this as Glass D. It is empty so the value is zero (0). A = 75 B = 50 C = 90 START ? We can now complete our flowchart. Let’s transfer the contents where each should belong. A = 75, B = 50 C = 90, D = 0START D A D = A B A = B A D B C B = C C = D C The problem is represented in a flowchart below. So, how do we solve this problem?
  • 5. SUMMARY: INSIGHTS: Programmers integrate ideas to a code is no simple way. Being new to programming, we might not be ready yet to overcome the challenges. Programmers suggest to observe the use of flowchart to at least minimize and overcome these challenges. So, try to solve the preceding problem. Problem: Illustrate a flowchart that will accept two integers and print the sum. START X=0, Y=0 S=0 S = X+Y Input (X, Y) Output (S) Stop FIRST: Assign memory locations for X & Y for the two integer values. Variable S for the sum of the two integer value. SECOND: User shall input integer values for variables X and Y. THIRD: The value of X is added to Y, and then stored to S. FOURTH: The value of variable S is then displayed in the Output. Flowcharts help computer programmers to create the most well-organized coding for computers. Programmers can clearly see where the data is going to end up. Flowcharts can help computer programmers figure out where a potential computer bugs or problems area is and helps them in debugging or cleaning up code that is not working. Input or Output is the part of the program that the user sees. Input is the only way to send data to the computer for processing. Input data can be numeric value, character or string. X Y, S