SlideShare a Scribd company logo
Subject:-
Algorithms
and
Flowcharts
SHREE SWAMI ATMANAND SARASWATI
INSTITUTE OF TECHNOLOGY
Civil-2
1
Prepared by,
Lalji Shiyani
students of ssasit
INDEX2
Basic of algorithms
Define and use the three constructs for developing
algorithms: sequence, decision, and repetition.
Understand and use three tools to represent algorithms:
flowchart, pseudocode, and structure chart.
Understand the concept of modularity and subalgorithms.
List and comprehend common algorithms.
Understand the concept of an algorithm.
3
Informal definition of an algorithm
used in a computer
4
Finding the largest integer
among five integers5
Defining actions in Find Largest algorithm
6
Advantages of algorithms
it eases identification and removal of logical errors
in a program.
It facilitates algorithm analysis to find out the most
efficient solution to a given problem.
It ensures easy comprehension of a problem
solution as compared an equivalent
computer program.
7
Disadvantages of algorithms
In large algorithms, the flow of program
control becomes difficult to track.
Algorithms lack visual representation of
programming constructs like flowcharts; thus,
understanding the logic becomes relatively
Difficult.
8
Flowcharts
A graphical represention of analgorithm,often
used in the design phase of programming to work
out the logical flow of a program.
Visual way to represent the information flow
Make our logic more clear
Help during writing of program
Make testing and debugging easy
9
Symbol Name Uses
Start and stop symbol Used to start flw chart as
wel as to to terminate the
flow chart.
Input/output Used for ID operation
Process Usedto mention ALU and
data transfer task(i.e.
arithmetic or assignment
task)
start
stop
10
Symbol Name Uses
decidsion For branching condition
Flow lines Indicates flow
11
Flowcharts for three constructs12
Example Write an algorithm and draw a flowchart
that will read the two sides of a rectangle
and calculate its area.
13
Example START
INPUT
W,L
A=L*W
INPUT
W,L
START
14
Flow chart’s limitation
For very large program, flow chart goes
for many pages
Costly to draw flow charts for large
program
Difficult to modify
15
16

More Related Content

PPTX
Machine learning
PPTX
Definition of automation,finite automata,transition system
DOCX
Bt8901 object oriented systems-de (1)
DOCX
Bt8901 object oriented systems-de (1)
PDF
7 problem solving with loops
PDF
PDF
3 programming concepts
Machine learning
Definition of automation,finite automata,transition system
Bt8901 object oriented systems-de (1)
Bt8901 object oriented systems-de (1)
7 problem solving with loops
3 programming concepts

What's hot (18)

PDF
GATE Aptitude
PPTX
Intro to machine learning(with animations)
PPTX
Fuzzy logic
PPTX
Intro to ML for product school meetup
PPTX
Machine learning
PPT
Maplesim poster
PPTX
Qcl-15-v4-[2]-[banasthali vidyapeeth]_[rachika mittal]
PPTX
18 Simple CART
PPTX
Machine learning
PDF
Syllabus ms
PDF
In computer sciencei
DOCX
Traducirgffg fdg dfg rert
PPTX
Ai project report
PDF
5 problem solving with the sequential logic structure
PPTX
Attacks on Victim Model! A Defense Strategy
PDF
Computer science-and-information-technology
PDF
Machine learning basics
GATE Aptitude
Intro to machine learning(with animations)
Fuzzy logic
Intro to ML for product school meetup
Machine learning
Maplesim poster
Qcl-15-v4-[2]-[banasthali vidyapeeth]_[rachika mittal]
18 Simple CART
Machine learning
Syllabus ms
In computer sciencei
Traducirgffg fdg dfg rert
Ai project report
5 problem solving with the sequential logic structure
Attacks on Victim Model! A Defense Strategy
Computer science-and-information-technology
Machine learning basics
Ad

Similar to Algorithms and Flowcharts (20)

PPTX
Algorithm and Flowcharts
PPTX
Flowcharts and algorithms
PPTX
flowchart & algorithms
PDF
Python Unit 1.pdfPython Notes for Bharathiar university syllabus
PPTX
FLOWCHARTS.pptx
PPTX
Algorithms and flow charts
PPTX
Flow chart and algorithm working progress
PPT
PPTX
Lesson 1 of c programming algorithms and flowcharts.pptx
PPTX
What is algorithm
PDF
Fundamental of Information Technology - UNIT 6
PPSX
Flowcharts
PDF
Algorithm & Flowchart.pdf
PPTX
QCL-14-v3_[FLOW CHARTS]_[BANASTHALI UNIVERSITY]_[RADHIKA SHARMA]
PPSX
DISE - Programming Concepts
PPT
Lecture_01-Problem_Solving[1]||ProgrammingFundamental.ppt
PPSX
Algorithm and flowchart
PPTX
Algorithm and flowchart
PDF
algorithms and flow chart overview.pdf
PPT
Unit 1 psp
Algorithm and Flowcharts
Flowcharts and algorithms
flowchart & algorithms
Python Unit 1.pdfPython Notes for Bharathiar university syllabus
FLOWCHARTS.pptx
Algorithms and flow charts
Flow chart and algorithm working progress
Lesson 1 of c programming algorithms and flowcharts.pptx
What is algorithm
Fundamental of Information Technology - UNIT 6
Flowcharts
Algorithm & Flowchart.pdf
QCL-14-v3_[FLOW CHARTS]_[BANASTHALI UNIVERSITY]_[RADHIKA SHARMA]
DISE - Programming Concepts
Lecture_01-Problem_Solving[1]||ProgrammingFundamental.ppt
Algorithm and flowchart
Algorithm and flowchart
algorithms and flow chart overview.pdf
Unit 1 psp
Ad

Recently uploaded (20)

PPTX
Lecture Notes Electrical Wiring System Components
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
composite construction of structures.pdf
PPTX
Geodesy 1.pptx...............................................
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
DOCX
573137875-Attendance-Management-System-original
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
Sustainable Sites - Green Building Construction
PPTX
additive manufacturing of ss316l using mig welding
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
Construction Project Organization Group 2.pptx
PPTX
web development for engineering and engineering
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Lecture Notes Electrical Wiring System Components
R24 SURVEYING LAB MANUAL for civil enggi
composite construction of structures.pdf
Geodesy 1.pptx...............................................
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
573137875-Attendance-Management-System-original
Operating System & Kernel Study Guide-1 - converted.pdf
Automation-in-Manufacturing-Chapter-Introduction.pdf
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Sustainable Sites - Green Building Construction
additive manufacturing of ss316l using mig welding
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
CYBER-CRIMES AND SECURITY A guide to understanding
Construction Project Organization Group 2.pptx
web development for engineering and engineering
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...

Algorithms and Flowcharts

  • 1. Subject:- Algorithms and Flowcharts SHREE SWAMI ATMANAND SARASWATI INSTITUTE OF TECHNOLOGY Civil-2 1 Prepared by, Lalji Shiyani students of ssasit
  • 3. Basic of algorithms Define and use the three constructs for developing algorithms: sequence, decision, and repetition. Understand and use three tools to represent algorithms: flowchart, pseudocode, and structure chart. Understand the concept of modularity and subalgorithms. List and comprehend common algorithms. Understand the concept of an algorithm. 3
  • 4. Informal definition of an algorithm used in a computer 4
  • 5. Finding the largest integer among five integers5
  • 6. Defining actions in Find Largest algorithm 6
  • 7. Advantages of algorithms it eases identification and removal of logical errors in a program. It facilitates algorithm analysis to find out the most efficient solution to a given problem. It ensures easy comprehension of a problem solution as compared an equivalent computer program. 7
  • 8. Disadvantages of algorithms In large algorithms, the flow of program control becomes difficult to track. Algorithms lack visual representation of programming constructs like flowcharts; thus, understanding the logic becomes relatively Difficult. 8
  • 9. Flowcharts A graphical represention of analgorithm,often used in the design phase of programming to work out the logical flow of a program. Visual way to represent the information flow Make our logic more clear Help during writing of program Make testing and debugging easy 9
  • 10. Symbol Name Uses Start and stop symbol Used to start flw chart as wel as to to terminate the flow chart. Input/output Used for ID operation Process Usedto mention ALU and data transfer task(i.e. arithmetic or assignment task) start stop 10
  • 11. Symbol Name Uses decidsion For branching condition Flow lines Indicates flow 11
  • 12. Flowcharts for three constructs12
  • 13. Example Write an algorithm and draw a flowchart that will read the two sides of a rectangle and calculate its area. 13
  • 15. Flow chart’s limitation For very large program, flow chart goes for many pages Costly to draw flow charts for large program Difficult to modify 15
  • 16. 16