SlideShare a Scribd company logo
Zeinna Belle C. Desamito
Melissa Mae B. Ibarra
9-SSC-Lavoisier
and
A computer is a useful tool for solving a
great variety of problems. To make a computer
do anything, you have to write a computer
program. In a computer you tell a computer,
step by step, exactly what you want it do. The
computer then executes the program, following
each step mechanically, to accomplish the end
goal.
Look around you. Computers and networks are
everywhere. In mathematics and computer science an
algorithm is a finite sequence of step expressed for
solving a problem. An algorithm can be defined as “a
process that performs some sequence of operation in
order to solve a given problem”. Algorithms are used for
calculation, data processing and many other fields. A
good algorithm is like using the right tool in the
workshop. It does the job with the right amount of
effort.
Algorithms can be expressed in many different notations,
including pseudocode, flowchart and programming languages.
Pseudocode and flowcharts are structured ways to express
algorithms. Programming languages are primarily intended for
expressing algorithms in a form that can be executed by a computer,
but are often used to define or document algorithms. Sometimes it is
helpful in the description of an algorithm to supplement small
flowcharts with natural language and/or arithmetic expressions
written inside block diagrams to summarize what the flowcharts are
accomplishing.
The use of algorithm provides a number of
benefits. By using an algorithm, decision making
becomes more rational. Problems that would be
difficult to solve in entirely can be answered easily
as small series. An algorithm serves as a mnemonic
device and helps ensure that variables or parts of
the problem are not ignored.
A flowchart is a type of diagram (graphical or symbolic) that
represents an algorithm or process. Each step in process is
represented by a different symbol and contains a short description
of the process step.
A flowchart describes what operations are required to solve
a given problem.
Flowcharts are used in analyzing, designing, documenting,
or managing a process or program in various fields.
To communicate with others how a process is done.
A flowchart is generally used when a new project begins in
order to plan for the project.
A flowchart helps to clarify how things are currently
working
and how they could be improved.
Flowcharts also uncover steps that are redundant or
misplaced.
Picture Shape Name Action
Represented
Oval Terminal Symbol Represents start
and end of program
Parallelogram Input/Output Indicates input and
output
Rectangle Process This represents
processing of action.
e.g. mathematical
operator
Diamond Decision Since computer only
answer the question
yes/no, this is used to
represent logical test
for the program.
Hexagon Initialization/
Preparation
This is used to prepare
memory for repetition
of an action.
Arrow Lines & Arrow
Heads
Direction This shows the flow of
the program
Annotation This is used to
describe action or
variable.
Circle On page connector This is used to show
connector or part of
program to another
part.
Pentagon Off- page connnector This is used to
connect part of a
program to another
part on the other
page or paper.
These are the basic symbols used generally.
Now, the basic guidelines for drawing a flowchart
with the above symbols are that:
 In drawing a proper flowchart, all necessary requirements
should be listed out in logical order.
 The flowchart is to be read left to right or top to bottom.
 A process symbol can have only one flow line coming out
of it.
 For a decision symbol, only one flow line can enter it, but
multiple lines can leave it to denote possible answers.
 The terminal symbols can only have one flow line in
conjunction with them.
Sequence of a Flowchart
Flowcharting and Algorithm
• Design a flowchart that will accept and
display a number. Write its equivalent
algorithms.
Algorithm:
Step 1. Read in the
value of N.
Step 2. Print the
value of N.
START
Read N
Print N
END
• Construct a flowchart that will compute and
print the sum of and average of 3 numbers.
Write each equivalent algorithm.
Algorithm:
Step 1: Inizialization of the sum and
average into 0.
Step 2: Input a,b,c
Step 3: Compute sum by adding a,b,
and c then compute the average by
dividing the sum of a,b and c by 3
Step 4: Print the computed sum and
average
START
SUM=0
READ A,B, C
Print Sum,
Average
END
SUM= A+B+C
AVERAGE =
(A+B+C)/3
•Draw a flowchart that computes and
prints the area of a rectangle. Write each
equivalent algorithm.
Algorithm:
1. Initialize Area into a
2. Input the value of length and
width
3. Compute for the area
4. Print the area
START
A = 0
Input lw
A = l*w Print A END
Flowcharting and Algorithm
• Construct flowchart that will compute
& print the sum and average of a 4th gr.
periods. Write its algorithm.
• Construct a flowchart that will
compute and print the sum of and
average of 2 numbers. Write each
equivalent algorithm.
 Algorithm is the sequence of steps to be performed in order to solve a
problem by the computer.
 Algorithms can be expressed in many different notations, including
pseudocode, flowchart and programming languages.
 Programming languages are primarily intended for expressing algorithms in
a form that can be executed by a computer, but are often used to define or
document algorithms.
 A flowchart is a type of diagram (graphical or symbolic) that represents an
algorithm or process. Each step in process is represented by a different
symbol and contains a short description of the process step.
 Flowcharts are used in analyzing, designing, documenting, or managing a
process or program in various fields.
Flowcharting and Algorithm
Ad

More Related Content

What's hot (20)

Queue Implementation Using Array & Linked List
Queue Implementation Using Array & Linked ListQueue Implementation Using Array & Linked List
Queue Implementation Using Array & Linked List
PTCL
 
SEARCHING AND SORTING ALGORITHMS
SEARCHING AND SORTING ALGORITHMSSEARCHING AND SORTING ALGORITHMS
SEARCHING AND SORTING ALGORITHMS
Gokul Hari
 
Iostream in c++
Iostream in c++Iostream in c++
Iostream in c++
غزالة
 
Structure of C++ - R.D.Sivakumar
Structure of C++ - R.D.SivakumarStructure of C++ - R.D.Sivakumar
Structure of C++ - R.D.Sivakumar
Sivakumar R D .
 
ANALYSIS-AND-DESIGN-OF-ALGORITHM.ppt
ANALYSIS-AND-DESIGN-OF-ALGORITHM.pptANALYSIS-AND-DESIGN-OF-ALGORITHM.ppt
ANALYSIS-AND-DESIGN-OF-ALGORITHM.ppt
DaveCalapis3
 
Matrix and Determinants
Matrix and DeterminantsMatrix and Determinants
Matrix and Determinants
AarjavPinara
 
Programming Fundamentals Functions in C and types
Programming Fundamentals  Functions in C  and typesProgramming Fundamentals  Functions in C  and types
Programming Fundamentals Functions in C and types
imtiazalijoono
 
Abstract data types
Abstract data typesAbstract data types
Abstract data types
Poojith Chowdhary
 
Python list
Python listPython list
Python list
Mohammed Sikander
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
Elizabeth de Leon Aler
 
Computer Programming
Computer ProgrammingComputer Programming
Computer Programming
Syed Zaid Irshad
 
Control structures repetition
Control structures   repetitionControl structures   repetition
Control structures repetition
Online
 
Data Structure and Algorithms Binary Search Tree
Data Structure and Algorithms Binary Search TreeData Structure and Algorithms Binary Search Tree
Data Structure and Algorithms Binary Search Tree
ManishPrajapati78
 
Stacks IN DATA STRUCTURES
Stacks IN DATA STRUCTURESStacks IN DATA STRUCTURES
Stacks IN DATA STRUCTURES
Sowmya Jyothi
 
Hasse diagram
Hasse diagramHasse diagram
Hasse diagram
shresthadnes
 
Data types
Data typesData types
Data types
Nokesh Prabhakar
 
RECURSION IN C
RECURSION IN C RECURSION IN C
RECURSION IN C
v_jk
 
Functions in C.pptx
Functions in C.pptxFunctions in C.pptx
Functions in C.pptx
Ashwini Raut
 
Data Structures - Lecture 7 [Linked List]
Data Structures - Lecture 7 [Linked List]Data Structures - Lecture 7 [Linked List]
Data Structures - Lecture 7 [Linked List]
Muhammad Hammad Waseem
 
Scope rules : local and global variables
Scope rules : local and global variablesScope rules : local and global variables
Scope rules : local and global variables
sangrampatil81
 
Queue Implementation Using Array & Linked List
Queue Implementation Using Array & Linked ListQueue Implementation Using Array & Linked List
Queue Implementation Using Array & Linked List
PTCL
 
SEARCHING AND SORTING ALGORITHMS
SEARCHING AND SORTING ALGORITHMSSEARCHING AND SORTING ALGORITHMS
SEARCHING AND SORTING ALGORITHMS
Gokul Hari
 
Structure of C++ - R.D.Sivakumar
Structure of C++ - R.D.SivakumarStructure of C++ - R.D.Sivakumar
Structure of C++ - R.D.Sivakumar
Sivakumar R D .
 
ANALYSIS-AND-DESIGN-OF-ALGORITHM.ppt
ANALYSIS-AND-DESIGN-OF-ALGORITHM.pptANALYSIS-AND-DESIGN-OF-ALGORITHM.ppt
ANALYSIS-AND-DESIGN-OF-ALGORITHM.ppt
DaveCalapis3
 
Matrix and Determinants
Matrix and DeterminantsMatrix and Determinants
Matrix and Determinants
AarjavPinara
 
Programming Fundamentals Functions in C and types
Programming Fundamentals  Functions in C  and typesProgramming Fundamentals  Functions in C  and types
Programming Fundamentals Functions in C and types
imtiazalijoono
 
Control structures repetition
Control structures   repetitionControl structures   repetition
Control structures repetition
Online
 
Data Structure and Algorithms Binary Search Tree
Data Structure and Algorithms Binary Search TreeData Structure and Algorithms Binary Search Tree
Data Structure and Algorithms Binary Search Tree
ManishPrajapati78
 
Stacks IN DATA STRUCTURES
Stacks IN DATA STRUCTURESStacks IN DATA STRUCTURES
Stacks IN DATA STRUCTURES
Sowmya Jyothi
 
RECURSION IN C
RECURSION IN C RECURSION IN C
RECURSION IN C
v_jk
 
Functions in C.pptx
Functions in C.pptxFunctions in C.pptx
Functions in C.pptx
Ashwini Raut
 
Data Structures - Lecture 7 [Linked List]
Data Structures - Lecture 7 [Linked List]Data Structures - Lecture 7 [Linked List]
Data Structures - Lecture 7 [Linked List]
Muhammad Hammad Waseem
 
Scope rules : local and global variables
Scope rules : local and global variablesScope rules : local and global variables
Scope rules : local and global variables
sangrampatil81
 

Similar to Flowcharting and Algorithm (20)

Chap6
Chap6Chap6
Chap6
artipradhan
 
lecture 5
 lecture 5 lecture 5
lecture 5
umardanjumamaiwada
 
Introduction to computer science
Introduction to computer scienceIntroduction to computer science
Introduction to computer science
umardanjumamaiwada
 
C Programming Slides for 1st Year Engg students
C Programming Slides for 1st Year Engg studentsC Programming Slides for 1st Year Engg students
C Programming Slides for 1st Year Engg students
MysoreYogesh
 
Algorithm for computational problematic sit
Algorithm for computational problematic sitAlgorithm for computational problematic sit
Algorithm for computational problematic sit
Saurabh846965
 
Chap3 flow charts
Chap3 flow chartsChap3 flow charts
Chap3 flow charts
amit139
 
Lecture_01-Problem_Solving[1]||ProgrammingFundamental.ppt
Lecture_01-Problem_Solving[1]||ProgrammingFundamental.pptLecture_01-Problem_Solving[1]||ProgrammingFundamental.ppt
Lecture_01-Problem_Solving[1]||ProgrammingFundamental.ppt
cosc242101003
 
Logic Development and Algorithm.
Logic Development and Algorithm.Logic Development and Algorithm.
Logic Development and Algorithm.
NandiniSidana
 
Algorithm and flowchart.pptx
Algorithm and flowchart.pptxAlgorithm and flowchart.pptx
Algorithm and flowchart.pptx
MaheShiva
 
Lecture1-Algorithms-and-Flowcharts-ppt.ppt
Lecture1-Algorithms-and-Flowcharts-ppt.pptLecture1-Algorithms-and-Flowcharts-ppt.ppt
Lecture1-Algorithms-and-Flowcharts-ppt.ppt
ReshuReshma8
 
Lect1-Algorithms-and-Flowchart PPT presentation
Lect1-Algorithms-and-Flowchart PPT presentationLect1-Algorithms-and-Flowchart PPT presentation
Lect1-Algorithms-and-Flowchart PPT presentation
gstagra
 
Lecture1-Algorithms-and-Flowchart-ppt.ppt
Lecture1-Algorithms-and-Flowchart-ppt.pptLecture1-Algorithms-and-Flowchart-ppt.ppt
Lecture1-Algorithms-and-Flowchart-ppt.ppt
samreen82
 
AlgorithmAndFlowChart.pdf
AlgorithmAndFlowChart.pdfAlgorithmAndFlowChart.pdf
AlgorithmAndFlowChart.pdf
SusieMaestre1
 
Basic Slides on Algorithms and Flowcharts
Basic Slides on Algorithms and FlowchartsBasic Slides on Algorithms and Flowcharts
Basic Slides on Algorithms and Flowcharts
moazwinner
 
Flow chart and algorithm working progress
Flow chart and algorithm working progressFlow chart and algorithm working progress
Flow chart and algorithm working progress
BalaKrishnan466
 
Flow chart and algorithm working progress
Flow chart and algorithm working progressFlow chart and algorithm working progress
Flow chart and algorithm working progress
BalaKrishnan466
 
Python Unit 1.pdfPython Notes for Bharathiar university syllabus
Python Unit 1.pdfPython Notes for Bharathiar university syllabusPython Unit 1.pdfPython Notes for Bharathiar university syllabus
Python Unit 1.pdfPython Notes for Bharathiar university syllabus
ANUSUYA S
 
Lect1-Detailed description aboutAlgorithms-and-Flowchart.ppt
Lect1-Detailed description aboutAlgorithms-and-Flowchart.pptLect1-Detailed description aboutAlgorithms-and-Flowchart.ppt
Lect1-Detailed description aboutAlgorithms-and-Flowchart.ppt
gstagra
 
Problem solving methodology
Problem solving methodologyProblem solving methodology
Problem solving methodology
Prof. Dr. K. Adisesha
 
Introduction to algorithms
Introduction to algorithmsIntroduction to algorithms
Introduction to algorithms
Madishetty Prathibha
 
Introduction to computer science
Introduction to computer scienceIntroduction to computer science
Introduction to computer science
umardanjumamaiwada
 
C Programming Slides for 1st Year Engg students
C Programming Slides for 1st Year Engg studentsC Programming Slides for 1st Year Engg students
C Programming Slides for 1st Year Engg students
MysoreYogesh
 
Algorithm for computational problematic sit
Algorithm for computational problematic sitAlgorithm for computational problematic sit
Algorithm for computational problematic sit
Saurabh846965
 
Chap3 flow charts
Chap3 flow chartsChap3 flow charts
Chap3 flow charts
amit139
 
Lecture_01-Problem_Solving[1]||ProgrammingFundamental.ppt
Lecture_01-Problem_Solving[1]||ProgrammingFundamental.pptLecture_01-Problem_Solving[1]||ProgrammingFundamental.ppt
Lecture_01-Problem_Solving[1]||ProgrammingFundamental.ppt
cosc242101003
 
Logic Development and Algorithm.
Logic Development and Algorithm.Logic Development and Algorithm.
Logic Development and Algorithm.
NandiniSidana
 
Algorithm and flowchart.pptx
Algorithm and flowchart.pptxAlgorithm and flowchart.pptx
Algorithm and flowchart.pptx
MaheShiva
 
Lecture1-Algorithms-and-Flowcharts-ppt.ppt
Lecture1-Algorithms-and-Flowcharts-ppt.pptLecture1-Algorithms-and-Flowcharts-ppt.ppt
Lecture1-Algorithms-and-Flowcharts-ppt.ppt
ReshuReshma8
 
Lect1-Algorithms-and-Flowchart PPT presentation
Lect1-Algorithms-and-Flowchart PPT presentationLect1-Algorithms-and-Flowchart PPT presentation
Lect1-Algorithms-and-Flowchart PPT presentation
gstagra
 
Lecture1-Algorithms-and-Flowchart-ppt.ppt
Lecture1-Algorithms-and-Flowchart-ppt.pptLecture1-Algorithms-and-Flowchart-ppt.ppt
Lecture1-Algorithms-and-Flowchart-ppt.ppt
samreen82
 
AlgorithmAndFlowChart.pdf
AlgorithmAndFlowChart.pdfAlgorithmAndFlowChart.pdf
AlgorithmAndFlowChart.pdf
SusieMaestre1
 
Basic Slides on Algorithms and Flowcharts
Basic Slides on Algorithms and FlowchartsBasic Slides on Algorithms and Flowcharts
Basic Slides on Algorithms and Flowcharts
moazwinner
 
Flow chart and algorithm working progress
Flow chart and algorithm working progressFlow chart and algorithm working progress
Flow chart and algorithm working progress
BalaKrishnan466
 
Flow chart and algorithm working progress
Flow chart and algorithm working progressFlow chart and algorithm working progress
Flow chart and algorithm working progress
BalaKrishnan466
 
Python Unit 1.pdfPython Notes for Bharathiar university syllabus
Python Unit 1.pdfPython Notes for Bharathiar university syllabusPython Unit 1.pdfPython Notes for Bharathiar university syllabus
Python Unit 1.pdfPython Notes for Bharathiar university syllabus
ANUSUYA S
 
Lect1-Detailed description aboutAlgorithms-and-Flowchart.ppt
Lect1-Detailed description aboutAlgorithms-and-Flowchart.pptLect1-Detailed description aboutAlgorithms-and-Flowchart.ppt
Lect1-Detailed description aboutAlgorithms-and-Flowchart.ppt
gstagra
 
Ad

Recently uploaded (20)

spinal cord disorders (Myelopathies and radiculoapthies)
spinal cord disorders (Myelopathies and radiculoapthies)spinal cord disorders (Myelopathies and radiculoapthies)
spinal cord disorders (Myelopathies and radiculoapthies)
Mohamed Rizk Khodair
 
LDMMIA Reiki Yoga S5 Daily Living Workshop
LDMMIA Reiki Yoga S5 Daily Living WorkshopLDMMIA Reiki Yoga S5 Daily Living Workshop
LDMMIA Reiki Yoga S5 Daily Living Workshop
LDM Mia eStudios
 
LDMMIA Reiki News Ed3 Vol1 For Team and Guests
LDMMIA Reiki News Ed3 Vol1 For Team and GuestsLDMMIA Reiki News Ed3 Vol1 For Team and Guests
LDMMIA Reiki News Ed3 Vol1 For Team and Guests
LDM Mia eStudios
 
How to Create Kanban View in Odoo 18 - Odoo Slides
How to Create Kanban View in Odoo 18 - Odoo SlidesHow to Create Kanban View in Odoo 18 - Odoo Slides
How to Create Kanban View in Odoo 18 - Odoo Slides
Celine George
 
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
parmarjuli1412
 
How to Configure Public Holidays & Mandatory Days in Odoo 18
How to Configure Public Holidays & Mandatory Days in Odoo 18How to Configure Public Holidays & Mandatory Days in Odoo 18
How to Configure Public Holidays & Mandatory Days in Odoo 18
Celine George
 
What is the Philosophy of Statistics? (and how I was drawn to it)
What is the Philosophy of Statistics? (and how I was drawn to it)What is the Philosophy of Statistics? (and how I was drawn to it)
What is the Philosophy of Statistics? (and how I was drawn to it)
jemille6
 
Cultivation Practice of Garlic in Nepal.pptx
Cultivation Practice of Garlic in Nepal.pptxCultivation Practice of Garlic in Nepal.pptx
Cultivation Practice of Garlic in Nepal.pptx
UmeshTimilsina1
 
Origin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theoriesOrigin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theories
PrachiSontakke5
 
2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx
mansk2
 
Myasthenia gravis (Neuromuscular disorder)
Myasthenia gravis (Neuromuscular disorder)Myasthenia gravis (Neuromuscular disorder)
Myasthenia gravis (Neuromuscular disorder)
Mohamed Rizk Khodair
 
Ancient Stone Sculptures of India: As a Source of Indian History
Ancient Stone Sculptures of India: As a Source of Indian HistoryAncient Stone Sculptures of India: As a Source of Indian History
Ancient Stone Sculptures of India: As a Source of Indian History
Virag Sontakke
 
UPMVLE migration to ARAL. A step- by- step guide
UPMVLE migration to ARAL. A step- by- step guideUPMVLE migration to ARAL. A step- by- step guide
UPMVLE migration to ARAL. A step- by- step guide
abmerca
 
Module 1: Foundations of Research
Module 1: Foundations of ResearchModule 1: Foundations of Research
Module 1: Foundations of Research
drroxannekemp
 
Botany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic ExcellenceBotany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic Excellence
online college homework help
 
MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)
MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)
MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)
Dr. Nasir Mustafa
 
Ajanta Paintings: Study as a Source of History
Ajanta Paintings: Study as a Source of HistoryAjanta Paintings: Study as a Source of History
Ajanta Paintings: Study as a Source of History
Virag Sontakke
 
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Leonel Morgado
 
E-Filing_of_Income_Tax.pptx and concept of form 26AS
E-Filing_of_Income_Tax.pptx and concept of form 26ASE-Filing_of_Income_Tax.pptx and concept of form 26AS
E-Filing_of_Income_Tax.pptx and concept of form 26AS
Abinash Palangdar
 
*"Sensing the World: Insect Sensory Systems"*
*"Sensing the World: Insect Sensory Systems"**"Sensing the World: Insect Sensory Systems"*
*"Sensing the World: Insect Sensory Systems"*
Arshad Shaikh
 
spinal cord disorders (Myelopathies and radiculoapthies)
spinal cord disorders (Myelopathies and radiculoapthies)spinal cord disorders (Myelopathies and radiculoapthies)
spinal cord disorders (Myelopathies and radiculoapthies)
Mohamed Rizk Khodair
 
LDMMIA Reiki Yoga S5 Daily Living Workshop
LDMMIA Reiki Yoga S5 Daily Living WorkshopLDMMIA Reiki Yoga S5 Daily Living Workshop
LDMMIA Reiki Yoga S5 Daily Living Workshop
LDM Mia eStudios
 
LDMMIA Reiki News Ed3 Vol1 For Team and Guests
LDMMIA Reiki News Ed3 Vol1 For Team and GuestsLDMMIA Reiki News Ed3 Vol1 For Team and Guests
LDMMIA Reiki News Ed3 Vol1 For Team and Guests
LDM Mia eStudios
 
How to Create Kanban View in Odoo 18 - Odoo Slides
How to Create Kanban View in Odoo 18 - Odoo SlidesHow to Create Kanban View in Odoo 18 - Odoo Slides
How to Create Kanban View in Odoo 18 - Odoo Slides
Celine George
 
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
parmarjuli1412
 
How to Configure Public Holidays & Mandatory Days in Odoo 18
How to Configure Public Holidays & Mandatory Days in Odoo 18How to Configure Public Holidays & Mandatory Days in Odoo 18
How to Configure Public Holidays & Mandatory Days in Odoo 18
Celine George
 
What is the Philosophy of Statistics? (and how I was drawn to it)
What is the Philosophy of Statistics? (and how I was drawn to it)What is the Philosophy of Statistics? (and how I was drawn to it)
What is the Philosophy of Statistics? (and how I was drawn to it)
jemille6
 
Cultivation Practice of Garlic in Nepal.pptx
Cultivation Practice of Garlic in Nepal.pptxCultivation Practice of Garlic in Nepal.pptx
Cultivation Practice of Garlic in Nepal.pptx
UmeshTimilsina1
 
Origin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theoriesOrigin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theories
PrachiSontakke5
 
2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx
mansk2
 
Myasthenia gravis (Neuromuscular disorder)
Myasthenia gravis (Neuromuscular disorder)Myasthenia gravis (Neuromuscular disorder)
Myasthenia gravis (Neuromuscular disorder)
Mohamed Rizk Khodair
 
Ancient Stone Sculptures of India: As a Source of Indian History
Ancient Stone Sculptures of India: As a Source of Indian HistoryAncient Stone Sculptures of India: As a Source of Indian History
Ancient Stone Sculptures of India: As a Source of Indian History
Virag Sontakke
 
UPMVLE migration to ARAL. A step- by- step guide
UPMVLE migration to ARAL. A step- by- step guideUPMVLE migration to ARAL. A step- by- step guide
UPMVLE migration to ARAL. A step- by- step guide
abmerca
 
Module 1: Foundations of Research
Module 1: Foundations of ResearchModule 1: Foundations of Research
Module 1: Foundations of Research
drroxannekemp
 
Botany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic ExcellenceBotany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic Excellence
online college homework help
 
MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)
MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)
MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)
Dr. Nasir Mustafa
 
Ajanta Paintings: Study as a Source of History
Ajanta Paintings: Study as a Source of HistoryAjanta Paintings: Study as a Source of History
Ajanta Paintings: Study as a Source of History
Virag Sontakke
 
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Leonel Morgado
 
E-Filing_of_Income_Tax.pptx and concept of form 26AS
E-Filing_of_Income_Tax.pptx and concept of form 26ASE-Filing_of_Income_Tax.pptx and concept of form 26AS
E-Filing_of_Income_Tax.pptx and concept of form 26AS
Abinash Palangdar
 
*"Sensing the World: Insect Sensory Systems"*
*"Sensing the World: Insect Sensory Systems"**"Sensing the World: Insect Sensory Systems"*
*"Sensing the World: Insect Sensory Systems"*
Arshad Shaikh
 
Ad

Flowcharting and Algorithm

  • 1. Zeinna Belle C. Desamito Melissa Mae B. Ibarra 9-SSC-Lavoisier and
  • 2. A computer is a useful tool for solving a great variety of problems. To make a computer do anything, you have to write a computer program. In a computer you tell a computer, step by step, exactly what you want it do. The computer then executes the program, following each step mechanically, to accomplish the end goal.
  • 3. Look around you. Computers and networks are everywhere. In mathematics and computer science an algorithm is a finite sequence of step expressed for solving a problem. An algorithm can be defined as “a process that performs some sequence of operation in order to solve a given problem”. Algorithms are used for calculation, data processing and many other fields. A good algorithm is like using the right tool in the workshop. It does the job with the right amount of effort.
  • 4. Algorithms can be expressed in many different notations, including pseudocode, flowchart and programming languages. Pseudocode and flowcharts are structured ways to express algorithms. Programming languages are primarily intended for expressing algorithms in a form that can be executed by a computer, but are often used to define or document algorithms. Sometimes it is helpful in the description of an algorithm to supplement small flowcharts with natural language and/or arithmetic expressions written inside block diagrams to summarize what the flowcharts are accomplishing.
  • 5. The use of algorithm provides a number of benefits. By using an algorithm, decision making becomes more rational. Problems that would be difficult to solve in entirely can be answered easily as small series. An algorithm serves as a mnemonic device and helps ensure that variables or parts of the problem are not ignored.
  • 6. A flowchart is a type of diagram (graphical or symbolic) that represents an algorithm or process. Each step in process is represented by a different symbol and contains a short description of the process step. A flowchart describes what operations are required to solve a given problem. Flowcharts are used in analyzing, designing, documenting, or managing a process or program in various fields.
  • 7. To communicate with others how a process is done. A flowchart is generally used when a new project begins in order to plan for the project. A flowchart helps to clarify how things are currently working and how they could be improved. Flowcharts also uncover steps that are redundant or misplaced.
  • 8. Picture Shape Name Action Represented Oval Terminal Symbol Represents start and end of program Parallelogram Input/Output Indicates input and output
  • 9. Rectangle Process This represents processing of action. e.g. mathematical operator Diamond Decision Since computer only answer the question yes/no, this is used to represent logical test for the program. Hexagon Initialization/ Preparation This is used to prepare memory for repetition of an action. Arrow Lines & Arrow Heads Direction This shows the flow of the program
  • 10. Annotation This is used to describe action or variable. Circle On page connector This is used to show connector or part of program to another part. Pentagon Off- page connnector This is used to connect part of a program to another part on the other page or paper.
  • 11. These are the basic symbols used generally. Now, the basic guidelines for drawing a flowchart with the above symbols are that:  In drawing a proper flowchart, all necessary requirements should be listed out in logical order.  The flowchart is to be read left to right or top to bottom.  A process symbol can have only one flow line coming out of it.  For a decision symbol, only one flow line can enter it, but multiple lines can leave it to denote possible answers.  The terminal symbols can only have one flow line in conjunction with them.
  • 12. Sequence of a Flowchart
  • 14. • Design a flowchart that will accept and display a number. Write its equivalent algorithms.
  • 15. Algorithm: Step 1. Read in the value of N. Step 2. Print the value of N. START Read N Print N END
  • 16. • Construct a flowchart that will compute and print the sum of and average of 3 numbers. Write each equivalent algorithm.
  • 17. Algorithm: Step 1: Inizialization of the sum and average into 0. Step 2: Input a,b,c Step 3: Compute sum by adding a,b, and c then compute the average by dividing the sum of a,b and c by 3 Step 4: Print the computed sum and average START SUM=0 READ A,B, C Print Sum, Average END SUM= A+B+C AVERAGE = (A+B+C)/3
  • 18. •Draw a flowchart that computes and prints the area of a rectangle. Write each equivalent algorithm.
  • 19. Algorithm: 1. Initialize Area into a 2. Input the value of length and width 3. Compute for the area 4. Print the area START A = 0 Input lw A = l*w Print A END
  • 21. • Construct flowchart that will compute & print the sum and average of a 4th gr. periods. Write its algorithm. • Construct a flowchart that will compute and print the sum of and average of 2 numbers. Write each equivalent algorithm.
  • 22.  Algorithm is the sequence of steps to be performed in order to solve a problem by the computer.  Algorithms can be expressed in many different notations, including pseudocode, flowchart and programming languages.  Programming languages are primarily intended for expressing algorithms in a form that can be executed by a computer, but are often used to define or document algorithms.  A flowchart is a type of diagram (graphical or symbolic) that represents an algorithm or process. Each step in process is represented by a different symbol and contains a short description of the process step.  Flowcharts are used in analyzing, designing, documenting, or managing a process or program in various fields.
  翻译: