Flowcharts and algorithms

Student
StudentStudent
P R E P A R E D B Y :
R A V I B H A R A D V A 1 3 0 1 1 0 1 2 0 0 0 7
H E M D E E P B H A V S A R 1 3 0 1 1 0 1 2 0 0 0 8
N A Y A N C H A U H A N 1 3 0 1 1 0 1 2 0 0 0 9
C H I N T A N K A T H R E C H A 1 3 0 1 1 0 1 2 0 0 1 0
C H I T T K A K A D I A 1 3 0 1 1 0 1 2 0 0 1 1
Y A S H R A J C H U D A S A M A 1 3 0 1 1 0 1 2 0 0 1 2
F A C U L T Y
J . V S I R
Flowcharts and algorithms
What is algorithm?
 An algorithm is the finite set of sequential
instructions to accomplish a task where instructions
are written in a simple English language.
 It is called as a step by step solution of the program.
 It is a well developed, organized approach to solving
complex problems.
 It refers to logic of program.
 It is step by step solution to given program.
Characteristics of algorithm
 Algorithm has four characteristics:
 Finiteness : Total number of steps used in
algorithm should be finite.
 Definiteness : Each step of algorithm must be clear
and un ambiguous.
 Effectiveness : Every step must be basic and
essential.
 Input & output: the algorithm must accept zero or
more input and must produce at least one output.
How to develop an algorithm
 First identify different inputs to be given to system.
 Then identify what output you want from the
program.
 Then create logic for it.
 Break that logic into simple steps.
 Write this steps in order.
 This forms the algorithm required from the given
logic.
Advantages Disadvantages
 Very easy to write.
 Easy technique to
understand logic.
 Easy identification of the
mistakes by non
computer person.
 Time consuming.
 Difficult to show
branching and looping.
 Big tasks are difficult to
put in algorithm.
What is a flowchart?
 It is a pictorial representation of the algorithm.
 What we did in algorithm, we can represent it in
flowchart.
 This format is easy to understand.
 It shows us the flow of the instructions.
Symbols of flowchart
Name Symbol Use in flowchart
Oval Used at starting and at
ending of the program.
Flowlines Used to show direction of
the flow.
Parallelogram Used for input output
options.
Rectangle Denotes process to be
carried out.
round
Diamond It is used for showing
decision structure.
Round Connecting flow lines
from different places
Block Indicates block of
statements or body of
loop
Symbols of flowchart
Advantages Disadvantages
 Easy to draw.
 Easy technique to
understand logic.
 Easy to identify the
mistake by non computer
person.
 Easy for branching and
looping.
 Time consuming.
 Difficult for
modification.
 Difficult task to draw
flow charts for big
programs.
Different operators used in programing
 Determine how one value relates to another
 Equal to ==
 Not equal to !=
 Less than <
 Greater than >
 Less than or Equal to <=
 Greater than or Equal to >=
Example 1: write an algorithm and flowchart for
converting length in feet to centimeter.
 Algorithm:
 Step1: input l in ft
 Step 2: L in cm= l in ft*30
 Step 3: Print l in cm.
 Flowchart:
in ft
L in cm= l in ft*3
start
Read value
of l
L in cm= l in ft*30
Print l in cm
stop
Example2: write an algorithm and flowchart to
read 2 sides of rectangle and calc. its area.
 Algorithm:
 Step1: read input W,L.
 Step2: A=W*L
 Step3: print A
 Flowchart:
 Read W,L
 A=L*W
 Print A
start
Read value
of W & L
A= L*W;A = L * W
Print area
A
stop
1 von 12

Recomendados

Algorithm von
AlgorithmAlgorithm
AlgorithmIHTISHAM UL HAQ
7.6K views16 Folien
Assembly language von
Assembly languageAssembly language
Assembly languageshashank puthran
5.5K views13 Folien
Algorithm and flowchart von
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchartElizabeth de Leon Aler
87.3K views9 Folien
High level and Low level Language von
High level and Low level Language High level and Low level Language
High level and Low level Language adnan usmani
4.4K views14 Folien
Introduction to Compiler design von
Introduction to Compiler design Introduction to Compiler design
Introduction to Compiler design Dr. C.V. Suresh Babu
6.4K views31 Folien

Más contenido relacionado

Was ist angesagt?

Operating system overview concepts ppt von
Operating system overview concepts pptOperating system overview concepts ppt
Operating system overview concepts pptRajendraPrasad Alladi
169.3K views19 Folien
Operating system and its function von
Operating system and its functionOperating system and its function
Operating system and its functionNikhi Jain
156.2K views12 Folien
Programming languages von
Programming languagesProgramming languages
Programming languagesAkash Varaiya
70.5K views18 Folien
C programming notes BATRACOMPUTER CENTRE IN Ambala CANTT von
C programming notes BATRACOMPUTER CENTRE IN Ambala CANTTC programming notes BATRACOMPUTER CENTRE IN Ambala CANTT
C programming notes BATRACOMPUTER CENTRE IN Ambala CANTTBatra Centre
2K views49 Folien
Language translator von
Language translatorLanguage translator
Language translatorasmakh89
6.8K views15 Folien
Programming Fundamental Presentation von
Programming Fundamental PresentationProgramming Fundamental Presentation
Programming Fundamental Presentationfazli khaliq
2.1K views8 Folien

Was ist angesagt?(20)

Operating system and its function von Nikhi Jain
Operating system and its functionOperating system and its function
Operating system and its function
Nikhi Jain156.2K views
Programming languages von Akash Varaiya
Programming languagesProgramming languages
Programming languages
Akash Varaiya70.5K views
C programming notes BATRACOMPUTER CENTRE IN Ambala CANTT von Batra Centre
C programming notes BATRACOMPUTER CENTRE IN Ambala CANTTC programming notes BATRACOMPUTER CENTRE IN Ambala CANTT
C programming notes BATRACOMPUTER CENTRE IN Ambala CANTT
Batra Centre2K views
Language translator von asmakh89
Language translatorLanguage translator
Language translator
asmakh896.8K views
Programming Fundamental Presentation von fazli khaliq
Programming Fundamental PresentationProgramming Fundamental Presentation
Programming Fundamental Presentation
fazli khaliq2.1K views
Algorithm and flowchart von Rabin BK
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
Rabin BK10.6K views
Algorithm and flowchart von Sachin Goyani
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
Sachin Goyani7.1K views
Algorithms Lecture 1: Introduction to Algorithms von Benha University
Algorithms Lecture 1: Introduction to AlgorithmsAlgorithms Lecture 1: Introduction to Algorithms
Algorithms Lecture 1: Introduction to Algorithms
Benha University3.3K views
Assembly language von gaurav jain
Assembly languageAssembly language
Assembly language
gaurav jain5.1K views
INTRODUCTION TO C PROGRAMMING von Abhishek Dwivedi
INTRODUCTION TO C PROGRAMMINGINTRODUCTION TO C PROGRAMMING
INTRODUCTION TO C PROGRAMMING
Abhishek Dwivedi208.3K views
Types of Operating System von Hemant Raj
Types of Operating SystemTypes of Operating System
Types of Operating System
Hemant Raj90.3K views
Compiler vs interpreter von Paras Patel
Compiler vs interpreterCompiler vs interpreter
Compiler vs interpreter
Paras Patel11.2K views
OS - Process Concepts von Mukesh Chinta
OS - Process ConceptsOS - Process Concepts
OS - Process Concepts
Mukesh Chinta23.9K views
notes on Programming fundamentals von ArghodeepPaul
notes on Programming fundamentals notes on Programming fundamentals
notes on Programming fundamentals
ArghodeepPaul1.5K views
Presentation on Operating System & its Components von Mahmuda Rahman
Presentation on Operating System & its ComponentsPresentation on Operating System & its Components
Presentation on Operating System & its Components
Mahmuda Rahman14.7K views
computer software von Ahsan Khan
computer softwarecomputer software
computer software
Ahsan Khan146.8K views
Computer Language Translator von Ranjeet Kumar
Computer Language TranslatorComputer Language Translator
Computer Language Translator
Ranjeet Kumar6.2K views

Destacado

How to choose the right graph pie charts von
How to choose the right graph   pie chartsHow to choose the right graph   pie charts
How to choose the right graph pie chartsMilena Marin
774 views8 Folien
Algorithms and Flowcharts von
Algorithms and FlowchartsAlgorithms and Flowcharts
Algorithms and FlowchartsDeva Singh
309.8K views31 Folien
ENSENADA DE UTRÍA von
ENSENADA DE UTRÍAENSENADA DE UTRÍA
ENSENADA DE UTRÍA60337
971 views11 Folien
Unit 3.4 von
Unit 3.4Unit 3.4
Unit 3.4Marcus9000
2.1K views38 Folien
How to use Social Media for Educational Organizations? von
How to use Social Media for Educational Organizations?How to use Social Media for Educational Organizations?
How to use Social Media for Educational Organizations?Deva Singh
907 views19 Folien
Which LMS is the Best? Pros and Cons of Blackboard, D2L, and Canvas von
Which LMS is the Best? Pros and Cons of Blackboard, D2L, and CanvasWhich LMS is the Best? Pros and Cons of Blackboard, D2L, and Canvas
Which LMS is the Best? Pros and Cons of Blackboard, D2L, and CanvasMark Maxwell
8.1K views34 Folien

Destacado(18)

How to choose the right graph pie charts von Milena Marin
How to choose the right graph   pie chartsHow to choose the right graph   pie charts
How to choose the right graph pie charts
Milena Marin774 views
Algorithms and Flowcharts von Deva Singh
Algorithms and FlowchartsAlgorithms and Flowcharts
Algorithms and Flowcharts
Deva Singh309.8K views
ENSENADA DE UTRÍA von 60337
ENSENADA DE UTRÍAENSENADA DE UTRÍA
ENSENADA DE UTRÍA
60337971 views
How to use Social Media for Educational Organizations? von Deva Singh
How to use Social Media for Educational Organizations?How to use Social Media for Educational Organizations?
How to use Social Media for Educational Organizations?
Deva Singh907 views
Which LMS is the Best? Pros and Cons of Blackboard, D2L, and Canvas von Mark Maxwell
Which LMS is the Best? Pros and Cons of Blackboard, D2L, and CanvasWhich LMS is the Best? Pros and Cons of Blackboard, D2L, and Canvas
Which LMS is the Best? Pros and Cons of Blackboard, D2L, and Canvas
Mark Maxwell8.1K views
Data Representations von bujols
Data RepresentationsData Representations
Data Representations
bujols4.7K views
Lecture2 network attack von rajakhurram
Lecture2 network attackLecture2 network attack
Lecture2 network attack
rajakhurram1.6K views
Buffer overflow attacks von Joe McCarthy
Buffer overflow attacksBuffer overflow attacks
Buffer overflow attacks
Joe McCarthy18K views
Stem & leaf, Bar graphs, and Histograms von bujols
Stem & leaf, Bar graphs, and HistogramsStem & leaf, Bar graphs, and Histograms
Stem & leaf, Bar graphs, and Histograms
bujols41.5K views
Strengths and weakness of data presentation von Will Williams
Strengths and weakness of data presentationStrengths and weakness of data presentation
Strengths and weakness of data presentation
Will Williams102.9K views
Basics of C programming von avikdhupar
Basics of C programmingBasics of C programming
Basics of C programming
avikdhupar165K views
flowchart & algorithms von Student
flowchart & algorithmsflowchart & algorithms
flowchart & algorithms
Student7K views
Food and beverage_operations von libfsb
Food and beverage_operationsFood and beverage_operations
Food and beverage_operations
libfsb180.2K views

Similar a Flowcharts and algorithms

Algorithm and flowchart.pptx von
Algorithm and flowchart.pptxAlgorithm and flowchart.pptx
Algorithm and flowchart.pptxMaheShiva
486 views18 Folien
Chap6 von
Chap6Chap6
Chap6artipradhan
2.7K views21 Folien
lecture 5 von
 lecture 5 lecture 5
lecture 5umardanjumamaiwada
191 views25 Folien
Introduction to computer science von
Introduction to computer scienceIntroduction to computer science
Introduction to computer scienceumardanjumamaiwada
86 views25 Folien
Problem solving methodology von
Problem solving methodologyProblem solving methodology
Problem solving methodologyProf. Dr. K. Adisesha
850 views12 Folien
Logic Development and Algorithm. von
Logic Development and Algorithm.Logic Development and Algorithm.
Logic Development and Algorithm.NandiniSidana
335 views34 Folien

Similar a Flowcharts and algorithms(20)

Algorithm and flowchart.pptx von MaheShiva
Algorithm and flowchart.pptxAlgorithm and flowchart.pptx
Algorithm and flowchart.pptx
MaheShiva486 views
Logic Development and Algorithm. von NandiniSidana
Logic Development and Algorithm.Logic Development and Algorithm.
Logic Development and Algorithm.
NandiniSidana335 views
Fundamental of Information Technology - UNIT 6 von Shipra Swati
Fundamental of Information Technology - UNIT 6Fundamental of Information Technology - UNIT 6
Fundamental of Information Technology - UNIT 6
Shipra Swati715 views
Algorithm Flowchart Manual ALGORITHM FLOWCHART MANUAL For STUDENTS von Alicia Edwards
Algorithm   Flowchart Manual ALGORITHM   FLOWCHART MANUAL For STUDENTSAlgorithm   Flowchart Manual ALGORITHM   FLOWCHART MANUAL For STUDENTS
Algorithm Flowchart Manual ALGORITHM FLOWCHART MANUAL For STUDENTS
Alicia Edwards70 views
L1. Basic Programming Concepts.pdf von MMRF2
L1. Basic Programming Concepts.pdfL1. Basic Programming Concepts.pdf
L1. Basic Programming Concepts.pdf
MMRF28 views
C++ ppt von parpan34
C++ pptC++ ppt
C++ ppt
parpan3445.7K views
Algorithm & Flowchart.pdf von Vpmv
Algorithm & Flowchart.pdfAlgorithm & Flowchart.pdf
Algorithm & Flowchart.pdf
Vpmv14 views
265 ge8151 problem solving and python programming - 2 marks with answers von vithyanila
265   ge8151 problem solving and python programming - 2 marks with answers265   ge8151 problem solving and python programming - 2 marks with answers
265 ge8151 problem solving and python programming - 2 marks with answers
vithyanila457 views

Más de Student

Solids von
SolidsSolids
SolidsStudent
902 views34 Folien
PROJECTION OF POINTS von
PROJECTION OF POINTSPROJECTION OF POINTS
PROJECTION OF POINTSStudent
1.2K views16 Folien
Engineering Planes von
Engineering PlanesEngineering Planes
Engineering PlanesStudent
420 views31 Folien
Orthographic projection von
Orthographic projectionOrthographic projection
Orthographic projectionStudent
1.8K views186 Folien
Engineering line von
Engineering lineEngineering line
Engineering lineStudent
428 views55 Folien
Engineering graphics von
Engineering graphicsEngineering graphics
Engineering graphicsStudent
1.7K views283 Folien

Más de Student(15)

Solids von Student
SolidsSolids
Solids
Student902 views
PROJECTION OF POINTS von Student
PROJECTION OF POINTSPROJECTION OF POINTS
PROJECTION OF POINTS
Student1.2K views
Engineering Planes von Student
Engineering PlanesEngineering Planes
Engineering Planes
Student420 views
Orthographic projection von Student
Orthographic projectionOrthographic projection
Orthographic projection
Student1.8K views
Engineering line von Student
Engineering lineEngineering line
Engineering line
Student428 views
Engineering graphics von Student
Engineering graphicsEngineering graphics
Engineering graphics
Student1.7K views
Engineering Curves von Student
Engineering CurvesEngineering Curves
Engineering Curves
Student4.2K views
Intoduction to c language von Student
Intoduction to c languageIntoduction to c language
Intoduction to c language
Student717 views
Contributor personality development unit 2 von Student
Contributor personality  development unit 2Contributor personality  development unit 2
Contributor personality development unit 2
Student719 views
Gaussian elimination method & homogeneous linear equation von Student
Gaussian elimination method & homogeneous linear equationGaussian elimination method & homogeneous linear equation
Gaussian elimination method & homogeneous linear equation
Student8.2K views
Eme (air compressors) von Student
Eme (air compressors)Eme (air compressors)
Eme (air compressors)
Student3K views
Noise pollution von Student
Noise pollutionNoise pollution
Noise pollution
Student1.1K views
Land pollution von Student
Land pollutionLand pollution
Land pollution
Student2.1K views
13 mc558 eg von Student
13 mc558 eg13 mc558 eg
13 mc558 eg
Student304 views
Women social activities von Student
Women social activitiesWomen social activities
Women social activities
Student451 views

Último

Multi-objective distributed generation integration in radial distribution sy... von
Multi-objective distributed generation integration in radial  distribution sy...Multi-objective distributed generation integration in radial  distribution sy...
Multi-objective distributed generation integration in radial distribution sy...IJECEIAES
15 views14 Folien
CHEMICAL KINETICS.pdf von
CHEMICAL KINETICS.pdfCHEMICAL KINETICS.pdf
CHEMICAL KINETICS.pdfAguedaGutirrez
8 views337 Folien
An approach of ontology and knowledge base for railway maintenance von
An approach of ontology and knowledge base for railway maintenanceAn approach of ontology and knowledge base for railway maintenance
An approach of ontology and knowledge base for railway maintenanceIJECEIAES
12 views14 Folien
Activated sludge process .pdf von
Activated sludge process .pdfActivated sludge process .pdf
Activated sludge process .pdf8832RafiyaAltaf
8 views32 Folien
Solar PV von
Solar PVSolar PV
Solar PVIwiss Tools Co.,Ltd
13 views4 Folien
Object Oriented Programming with JAVA von
Object Oriented Programming with JAVAObject Oriented Programming with JAVA
Object Oriented Programming with JAVADemian Antony D'Mello
95 views28 Folien

Último(20)

Multi-objective distributed generation integration in radial distribution sy... von IJECEIAES
Multi-objective distributed generation integration in radial  distribution sy...Multi-objective distributed generation integration in radial  distribution sy...
Multi-objective distributed generation integration in radial distribution sy...
IJECEIAES15 views
An approach of ontology and knowledge base for railway maintenance von IJECEIAES
An approach of ontology and knowledge base for railway maintenanceAn approach of ontology and knowledge base for railway maintenance
An approach of ontology and knowledge base for railway maintenance
IJECEIAES12 views
MSA Website Slideshow (16).pdf von msaucla
MSA Website Slideshow (16).pdfMSA Website Slideshow (16).pdf
MSA Website Slideshow (16).pdf
msaucla46 views
Performance of Back-to-Back Mechanically Stabilized Earth Walls Supporting th... von ahmedmesaiaoun
Performance of Back-to-Back Mechanically Stabilized Earth Walls Supporting th...Performance of Back-to-Back Mechanically Stabilized Earth Walls Supporting th...
Performance of Back-to-Back Mechanically Stabilized Earth Walls Supporting th...
ahmedmesaiaoun12 views
CHI-SQUARE ( χ2) TESTS.pptx von ssusera597c5
CHI-SQUARE ( χ2) TESTS.pptxCHI-SQUARE ( χ2) TESTS.pptx
CHI-SQUARE ( χ2) TESTS.pptx
ssusera597c529 views
fakenews_DBDA_Mar23.pptx von deepmitra8
fakenews_DBDA_Mar23.pptxfakenews_DBDA_Mar23.pptx
fakenews_DBDA_Mar23.pptx
deepmitra812 views
Thermal aware task assignment for multicore processors using genetic algorithm von IJECEIAES
Thermal aware task assignment for multicore processors using genetic algorithm Thermal aware task assignment for multicore processors using genetic algorithm
Thermal aware task assignment for multicore processors using genetic algorithm
IJECEIAES30 views
cloud computing-virtualization.pptx von RajaulKarim20
cloud computing-virtualization.pptxcloud computing-virtualization.pptx
cloud computing-virtualization.pptx
RajaulKarim2085 views
2_DVD_ASIC_Design_FLow.pdf von Usha Mehta
2_DVD_ASIC_Design_FLow.pdf2_DVD_ASIC_Design_FLow.pdf
2_DVD_ASIC_Design_FLow.pdf
Usha Mehta19 views
Design and analysis of a new undergraduate Computer Engineering degree – a me... von WaelBadawy6
Design and analysis of a new undergraduate Computer Engineering degree – a me...Design and analysis of a new undergraduate Computer Engineering degree – a me...
Design and analysis of a new undergraduate Computer Engineering degree – a me...
WaelBadawy653 views
9_DVD_Dynamic_logic_circuits.pdf von Usha Mehta
9_DVD_Dynamic_logic_circuits.pdf9_DVD_Dynamic_logic_circuits.pdf
9_DVD_Dynamic_logic_circuits.pdf
Usha Mehta28 views
13_DVD_Latch-up_prevention.pdf von Usha Mehta
13_DVD_Latch-up_prevention.pdf13_DVD_Latch-up_prevention.pdf
13_DVD_Latch-up_prevention.pdf
Usha Mehta10 views

Flowcharts and algorithms

  • 1. P R E P A R E D B Y : R A V I B H A R A D V A 1 3 0 1 1 0 1 2 0 0 0 7 H E M D E E P B H A V S A R 1 3 0 1 1 0 1 2 0 0 0 8 N A Y A N C H A U H A N 1 3 0 1 1 0 1 2 0 0 0 9 C H I N T A N K A T H R E C H A 1 3 0 1 1 0 1 2 0 0 1 0 C H I T T K A K A D I A 1 3 0 1 1 0 1 2 0 0 1 1 Y A S H R A J C H U D A S A M A 1 3 0 1 1 0 1 2 0 0 1 2 F A C U L T Y J . V S I R Flowcharts and algorithms
  • 2. What is algorithm?  An algorithm is the finite set of sequential instructions to accomplish a task where instructions are written in a simple English language.  It is called as a step by step solution of the program.  It is a well developed, organized approach to solving complex problems.  It refers to logic of program.  It is step by step solution to given program.
  • 3. Characteristics of algorithm  Algorithm has four characteristics:  Finiteness : Total number of steps used in algorithm should be finite.  Definiteness : Each step of algorithm must be clear and un ambiguous.  Effectiveness : Every step must be basic and essential.  Input & output: the algorithm must accept zero or more input and must produce at least one output.
  • 4. How to develop an algorithm  First identify different inputs to be given to system.  Then identify what output you want from the program.  Then create logic for it.  Break that logic into simple steps.  Write this steps in order.  This forms the algorithm required from the given logic.
  • 5. Advantages Disadvantages  Very easy to write.  Easy technique to understand logic.  Easy identification of the mistakes by non computer person.  Time consuming.  Difficult to show branching and looping.  Big tasks are difficult to put in algorithm.
  • 6. What is a flowchart?  It is a pictorial representation of the algorithm.  What we did in algorithm, we can represent it in flowchart.  This format is easy to understand.  It shows us the flow of the instructions.
  • 7. Symbols of flowchart Name Symbol Use in flowchart Oval Used at starting and at ending of the program. Flowlines Used to show direction of the flow. Parallelogram Used for input output options. Rectangle Denotes process to be carried out.
  • 8. round Diamond It is used for showing decision structure. Round Connecting flow lines from different places Block Indicates block of statements or body of loop Symbols of flowchart
  • 9. Advantages Disadvantages  Easy to draw.  Easy technique to understand logic.  Easy to identify the mistake by non computer person.  Easy for branching and looping.  Time consuming.  Difficult for modification.  Difficult task to draw flow charts for big programs.
  • 10. Different operators used in programing  Determine how one value relates to another  Equal to ==  Not equal to !=  Less than <  Greater than >  Less than or Equal to <=  Greater than or Equal to >=
  • 11. Example 1: write an algorithm and flowchart for converting length in feet to centimeter.  Algorithm:  Step1: input l in ft  Step 2: L in cm= l in ft*30  Step 3: Print l in cm.  Flowchart: in ft L in cm= l in ft*3 start Read value of l L in cm= l in ft*30 Print l in cm stop
  • 12. Example2: write an algorithm and flowchart to read 2 sides of rectangle and calc. its area.  Algorithm:  Step1: read input W,L.  Step2: A=W*L  Step3: print A  Flowchart:  Read W,L  A=L*W  Print A start Read value of W & L A= L*W;A = L * W Print area A stop