SlideShare a Scribd company logo
5
Most read
8
Most read
10
Most read
Algorithm and
Flowchart.
Hello world!
I AM SHIVAM SHARMA
I am here to speak on
Algorithms and
Flowcharts.
Roll no.- BWU/BTS/20/122
2
1
Algorithms
Let’s start with the
first set of slides
3
It is a step by step method of solving a problem. It
can be also defined as a process or set of rules to
be followed in calculations or other problem-solving
operations, especially by a computer.
4
Algorithm
Precision – the steps are precisely stated (defined).
Uniqueness – results of each step are uniquely defined and
only depend on the input and the result of
the preceding steps.
Finiteness – the algorithm stops after a finite number of
instructions are executed.
Input – the algorithm receives input.
Output – the algorithm produces output.
Generality – the algorithm applies to a set of inputs.
5
Characteristics of algorithm:
2
Flowchart
6
A flowchart is a graphical representation of an algorithm.
These flowcharts play a vital role in the programming of a
problem and are quite helpful in understanding the logic
of complicated and lengthy problems. Once the flowchart is
drawn, it becomes easy to write the program in any high
level language. Often we see how flowcharts are helpful in
explaining the program to others. Hence, it is correct to
say that a flowchart is a must for the better
documentation of a complex program.
7
Flowchart
The Standard symbols through which flowcharts are
given below:-
8
The following are some guidelines in flowcharting:
1. In drawing a proper flowchart,
all necessary requirements
should be listed out in logical
order.
2. The flowchart should be clear,
neat and easy to follow. There
should not be any room for
ambiguity in understanding the
flowchart.
3. The usual direction of the flow
of a procedure or system is
from left to right or top to
bottom.
4. Only one flow line should come
out from a process symbol.
9
last
last
or
5. Only one flow line should enter
a decision symbol, but two or
three flow lines, one for each
possible answer, should leave the
decision symbol.
6. Only one flow line is used in
conjunction with terminal symbol.
7. If the flowchart becomes
complex, it is better to use
connector symbols to reduce the
number of flowlines. Avoid the
intersection of flow lines if you
want to make it more effective and
better way of communication.
8. Ensure that the flowchart has a
logical start and finish.
9. It is useful to test the
validity of the flowchart by
passing through it with a simple
test data.
Example: Write an algorithm and draw the flowchart for
finding the average of two numbers
Algorithm: Flowchart :⤓
Input: two numbers x and y
Output: the average of x and y
Steps:
1. input x
2. input y
3. sum = x + y
4. average = sum /2
5. output average
Thank you
The End
12

More Related Content

PPTX
Input and Output In C Language
PPTX
Programming flowcharts for C Language
PPT
History of c++
PPTX
What is an algorithm?
PPTX
Pseudocode
PPTX
Introduction to programming
PPT
PPTX
Variables in C++, data types in c++
Input and Output In C Language
Programming flowcharts for C Language
History of c++
What is an algorithm?
Pseudocode
Introduction to programming
Variables in C++, data types in c++

What's hot (20)

PPTX
pseudocode and Flowchart
PPT
UNIT-1-PPTS-DAA.ppt
PPTX
Looping statements in C
PPTX
Pseudocode flowcharts
PPTX
Programming fundamentals lecture 4
PPTX
C++ ppt
PPT
computer languages
PDF
Python-01| Fundamentals
PPTX
Chapter 6 algorithms and flow charts
PPTX
Asymptotic Notation
PPTX
Introduction Of C++
PDF
Operators in python
PPT
Object-oriented concepts
PPTX
Critical section problem in operating system.
PPTX
Print input-presentation
PPTX
Programming Fundamentals lecture 2
PPTX
Header files of c++ unit 3 -topic 3
PPTX
Lexical Analysis - Compiler Design
PPT
Introduction to Algorithms & flow charts
PPTX
process control block
pseudocode and Flowchart
UNIT-1-PPTS-DAA.ppt
Looping statements in C
Pseudocode flowcharts
Programming fundamentals lecture 4
C++ ppt
computer languages
Python-01| Fundamentals
Chapter 6 algorithms and flow charts
Asymptotic Notation
Introduction Of C++
Operators in python
Object-oriented concepts
Critical section problem in operating system.
Print input-presentation
Programming Fundamentals lecture 2
Header files of c++ unit 3 -topic 3
Lexical Analysis - Compiler Design
Introduction to Algorithms & flow charts
process control block
Ad

Similar to Algorithm and flowchart (20)

PPT
PDF
final Unit 1-1.pdf
PPT
aamir presentation
PDF
Algorithm & Flowchart.pdf
PPTX
Flowchart Grade 10
PPT
Chap3 flow charts
PDF
Flow charts
PPTX
11 Unit 1 Problem Solving Techniques
PDF
Python Unit 1.pdfPython Notes for Bharathiar university syllabus
PPT
Lect 3-4 Zaheer Abbas
PDF
Fundamental of Information Technology - UNIT 6
PDF
PROGRAMMING IN C UNIT I.pdffffffffffffffffffffffffd
PPTX
Algorithm and Flowcharts
PPTX
Algorithm for computational problematic sit
PPTX
Flow chart
PPTX
Algorithm and flowchart.pptx
PPTX
What is algorithm
PPT
Lecture 4
PPTX
stm unit-1part-II-1.pptx about software testing tools
PPTX
Introduction to algorithms
final Unit 1-1.pdf
aamir presentation
Algorithm & Flowchart.pdf
Flowchart Grade 10
Chap3 flow charts
Flow charts
11 Unit 1 Problem Solving Techniques
Python Unit 1.pdfPython Notes for Bharathiar university syllabus
Lect 3-4 Zaheer Abbas
Fundamental of Information Technology - UNIT 6
PROGRAMMING IN C UNIT I.pdffffffffffffffffffffffffd
Algorithm and Flowcharts
Algorithm for computational problematic sit
Flow chart
Algorithm and flowchart.pptx
What is algorithm
Lecture 4
stm unit-1part-II-1.pptx about software testing tools
Introduction to algorithms
Ad

Recently uploaded (20)

PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
Welding lecture in detail for understanding
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
UNIT 4 Total Quality Management .pptx
DOCX
573137875-Attendance-Management-System-original
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
Sustainable Sites - Green Building Construction
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
PPT on Performance Review to get promotions
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Welding lecture in detail for understanding
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Lecture Notes Electrical Wiring System Components
UNIT 4 Total Quality Management .pptx
573137875-Attendance-Management-System-original
Automation-in-Manufacturing-Chapter-Introduction.pdf
Operating System & Kernel Study Guide-1 - converted.pdf
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Foundation to blockchain - A guide to Blockchain Tech
Sustainable Sites - Green Building Construction
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
bas. eng. economics group 4 presentation 1.pptx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPT on Performance Review to get promotions

Algorithm and flowchart

  • 2. Hello world! I AM SHIVAM SHARMA I am here to speak on Algorithms and Flowcharts. Roll no.- BWU/BTS/20/122 2
  • 3. 1 Algorithms Let’s start with the first set of slides 3
  • 4. It is a step by step method of solving a problem. It can be also defined as a process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer. 4 Algorithm
  • 5. Precision – the steps are precisely stated (defined). Uniqueness – results of each step are uniquely defined and only depend on the input and the result of the preceding steps. Finiteness – the algorithm stops after a finite number of instructions are executed. Input – the algorithm receives input. Output – the algorithm produces output. Generality – the algorithm applies to a set of inputs. 5 Characteristics of algorithm:
  • 7. A flowchart is a graphical representation of an algorithm. These flowcharts play a vital role in the programming of a problem and are quite helpful in understanding the logic of complicated and lengthy problems. Once the flowchart is drawn, it becomes easy to write the program in any high level language. Often we see how flowcharts are helpful in explaining the program to others. Hence, it is correct to say that a flowchart is a must for the better documentation of a complex program. 7 Flowchart
  • 8. The Standard symbols through which flowcharts are given below:- 8
  • 9. The following are some guidelines in flowcharting: 1. In drawing a proper flowchart, all necessary requirements should be listed out in logical order. 2. The flowchart should be clear, neat and easy to follow. There should not be any room for ambiguity in understanding the flowchart. 3. The usual direction of the flow of a procedure or system is from left to right or top to bottom. 4. Only one flow line should come out from a process symbol. 9 last last or
  • 10. 5. Only one flow line should enter a decision symbol, but two or three flow lines, one for each possible answer, should leave the decision symbol. 6. Only one flow line is used in conjunction with terminal symbol. 7. If the flowchart becomes complex, it is better to use connector symbols to reduce the number of flowlines. Avoid the intersection of flow lines if you want to make it more effective and better way of communication. 8. Ensure that the flowchart has a logical start and finish. 9. It is useful to test the validity of the flowchart by passing through it with a simple test data.
  • 11. Example: Write an algorithm and draw the flowchart for finding the average of two numbers Algorithm: Flowchart :⤓ Input: two numbers x and y Output: the average of x and y Steps: 1. input x 2. input y 3. sum = x + y 4. average = sum /2 5. output average