SlideShare a Scribd company logo
1 of 5
Download to read offline
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

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 assignmentZenith SVG
 
Flowchart pseudocode-examples
Flowchart pseudocode-examplesFlowchart pseudocode-examples
Flowchart pseudocode-examplesGautam Roy
 
2. introduction of a c program
2. introduction of a c program2. introduction of a c program
2. introduction of a c programAlamgir Hossain
 
C strings
C stringsC strings
C stringsDucat
 
Linear regression
Linear regression Linear regression
Linear regression mohamed Naas
 
ML - Multiple Linear Regression
ML - Multiple Linear RegressionML - Multiple Linear Regression
ML - Multiple Linear RegressionAndrew Ferlitsch
 
Simulation - Generating Continuous Random Variables
Simulation - Generating Continuous Random VariablesSimulation - Generating Continuous Random Variables
Simulation - Generating Continuous Random VariablesMartin 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-1Dr. Loganathan R
 
Data analysis on bank data
Data analysis on bank dataData analysis on bank data
Data analysis on bank dataANISH 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

Algorithms and flowcharts
Algorithms and flowchartsAlgorithms and flowcharts
Algorithms and flowchartsSamuel Igbanogu
 
Scilab as a calculator
Scilab as a calculatorScilab as a calculator
Scilab as a calculatorScilab
 
Flowchart and algorithm
Flowchart and algorithmFlowchart and algorithm
Flowchart and algorithmDHANIK VIKRANT
 
AlgorithmAndFlowChart.pdf
AlgorithmAndFlowChart.pdfAlgorithmAndFlowChart.pdf
AlgorithmAndFlowChart.pdfSusieMaestre1
 
MATLAB Basics-Part1
MATLAB Basics-Part1MATLAB Basics-Part1
MATLAB Basics-Part1Elaf 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.pptSourabhPal46
 
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.pptMard Geer
 
Lecture1-Algorithms-and-Flowcharts-ppt.ppt
Lecture1-Algorithms-and-Flowcharts-ppt.pptLecture1-Algorithms-and-Flowcharts-ppt.ppt
Lecture1-Algorithms-and-Flowcharts-ppt.pptReshuReshma8
 
Basic Slides on Algorithms and Flowcharts
Basic Slides on Algorithms and FlowchartsBasic Slides on Algorithms and Flowcharts
Basic Slides on Algorithms and Flowchartsmoazwinner
 
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 beyondMahuaPal6
 
Flowchart - Introduction and Designing Tools
Flowchart - Introduction and Designing ToolsFlowchart - Introduction and Designing Tools
Flowchart - Introduction and Designing ToolsJawad Khan
 

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
 
Flowchart - Introduction and Designing Tools
Flowchart - Introduction and Designing ToolsFlowchart - Introduction and Designing Tools
Flowchart - Introduction and Designing Tools
 
Flowcharts
FlowchartsFlowcharts
Flowcharts
 
Fundamentals of Programming Chapter 3
Fundamentals of Programming Chapter 3Fundamentals of Programming Chapter 3
Fundamentals of Programming Chapter 3
 

Recently uploaded

Capstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramCapstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramMoniSankarHazra
 
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteedamy56318795
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceDelhi Call girls
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Delhi Call girls
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% SecurePooja Nehwal
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Valters Lauzums
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...only4webmaster01
 
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -Pooja Nehwal
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...amitlee9823
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAroojKhan71
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...amitlee9823
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysismanisha194592
 
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfAccredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfadriantubila
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxolyaivanovalion
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 

Recently uploaded (20)

Capstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramCapstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics Program
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
 
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
 
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
 
Predicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science ProjectPredicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science Project
 
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfAccredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 

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