SlideShare uma empresa Scribd logo
1 de 21
Flowcharts
Mukesh N.Tekwani
IsmailYusuf College of
Arts, Science and Commerce,
Jogeshwari (East),
Mumbai
tekwani@email.com
Presented at the One DayWorkshop Organized by K.P.B. Hinduja College
of Commerce, University of Mumbai on the Semester-wise splitT.Y.B.Com
and S.Y.B.Com Computer papers on
July 20, 2013
What is a Flowchart?
 What is a flowchart?
◦ Graphical or pictorial representation of an
algorithm or problem solving process
 Flow?
◦ Indicates the flow of logic, or sequence of
steps.
◦ There is a ‘before’ step and an ‘after’ step
◦ Flow control is needed because programs are
not linear or top-to-down
Mukesh N.Tekwani20 July 2013 2
Why flowchart is useful?
 A picture is worth a thousand words
 Help in understanding complicated logic
 Language-independent and so easy to write
program in various languages
 Good tool for documentation
◦ Verbose syntax of certain languages is difficult to
understand; flowchart eliminates the need to know
syntax to understand the logic
Mukesh N.Tekwani20 July 2013 3
What can a Flowchart Represent?
 Sequential statements – assignment,
calculations, input & output
 Branching or Selection Statements – if-then,
if-then-else: using Decision Symbol
 Looping Statements – for, while loops
 Switch-Case statement (successive decision
symbols)
Mukesh N.Tekwani20 July 2013 4
Symbols used in Flowcharts
Mukesh N.Tekwani20 July 2013 5
Guidelines in Drawing a Flowchart
 Logical sequence
 Standard symbols
 Direction of flow  top-to-down
◦ To jump to a step further down, go from right
◦ To jump to a step above the current step, go
from left
Mukesh N.Tekwani20 July 2013 6
Guidelines in Drawing a Flowchart
 Only one flow line should enter a decision
symbol
 More than one flow line may leave a symbol
 Only one flow line used with Stop symbol
 Use connector symbol to breakup a
complex flowchart
 A flowchart must end with the Stop
statement
Mukesh N.Tekwani20 July 2013 7
Flowchart of ‘while’ loop
Mukesh N.Tekwani20 July 2013 8
Flowchart of ‘for’ loop
Mukesh N.Tekwani20 July 2013 9
Flowchart of ‘if’ statement
Mukesh N.Tekwani20 July 2013 10
Flowchart of ‘if-else’ statement
Mukesh N.Tekwani20 July 2013 11
Flowchart of ‘switch-case’ statement
Mukesh N.Tekwani20 July 2013 12
Sum of Two Numbers
Mukesh N.Tekwani20 July 2013 13
START
INPUT X, Y
Is X > Y ?
BIG = X
Yes
PRINT BIG
BIG = Y
STOP
No
L
a
r
g
e
r
O
f
T
w
o
N
u
m
b
e
r
s
Mukesh N.Tekwani20 July 2013 14
F
a
c
t
o
r
i
a
l
o
f
a
N
u
m
b
e
r
Yes
START
Read N
F = 1
M = 1
Is
M = N?
F = F * M
Print F
No
M = M + 1
STOP
Assume:
N  no. whose factorial is
required
Mukesh N.Tekwani20 July 2013 15
MultiplicationTableofanumberinputby
user
Mukesh N.Tekwani20 July 2013 16
Flowchart – Find the Largest of Three Numbers
Mukesh N.Tekwani20 July 2013 17
Limitations of Flowcharts
 Complex – for lengthy algorithms, flowchart
can be very large  difficult to follow
 Time-consuming – drawing complex
flowcharts can be very time-consuming
 Modification – difficult to modify; redraw
entire flowchart
 Update – program update is easier; not so
for flowcharts  redraw flowchart !
Mukesh N.Tekwani20 July 2013 18
Exercise
 Design an algorithm and the corresponding
flowchart for finding the sum of the numbers
2, 4, 6, 8, …, n
 Draw a flowchart to read 100 numbers and
then display the sum
 Draw a flowchart to display all odd numbers
between 0 and 1000
 Draw a flowchart to find the sum of first 10
natural numbers and then display the sum
Mukesh N.Tekwani20 July 2013 19
Suggestions
 Algorithm  Flowchart  Program
 Use programs in C language to develop
questions on Algorithms and Flowcharts
Mukesh N.Tekwani20 July 2013 20
THANK YOU
STOP
Mukesh N.Tekwani20 July 2013 21

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

Structure of a C program
Structure of a C programStructure of a C program
Structure of a C program
 
Input and Output Devices
Input and Output DevicesInput and Output Devices
Input and Output Devices
 
Pointers in C Programming
Pointers in C ProgrammingPointers in C Programming
Pointers in C Programming
 
Algorithm
AlgorithmAlgorithm
Algorithm
 
Types of Parser
Types of ParserTypes of Parser
Types of Parser
 
Programming
ProgrammingProgramming
Programming
 
Computer architecture
Computer architectureComputer architecture
Computer architecture
 
Input,output & storage device ppt
Input,output & storage device pptInput,output & storage device ppt
Input,output & storage device ppt
 
Algorithms and Flowcharts
Algorithms and FlowchartsAlgorithms and Flowcharts
Algorithms and Flowcharts
 
Array Of Pointers
Array Of PointersArray Of Pointers
Array Of Pointers
 
Nonrecursive predictive parsing
Nonrecursive predictive parsingNonrecursive predictive parsing
Nonrecursive predictive parsing
 
Pseudo code
Pseudo codePseudo code
Pseudo code
 
Algorithms, flow charts and pseudocodes
Algorithms, flow charts and pseudocodesAlgorithms, flow charts and pseudocodes
Algorithms, flow charts and pseudocodes
 
Programming Fundamentals lecture 2
Programming Fundamentals lecture 2Programming Fundamentals lecture 2
Programming Fundamentals lecture 2
 
Flowchart
FlowchartFlowchart
Flowchart
 
Structures in c language
Structures in c languageStructures in c language
Structures in c language
 
Block diagram of a computer
Block diagram of a computerBlock diagram of a computer
Block diagram of a computer
 
Fundamentals of operating system
Fundamentals of operating systemFundamentals of operating system
Fundamentals of operating system
 
Learn C
Learn CLearn C
Learn C
 
Compilers
CompilersCompilers
Compilers
 

Mais de Mukesh Tekwani

Computer Science Made Easy - Youtube Channel
Computer Science Made Easy - Youtube ChannelComputer Science Made Easy - Youtube Channel
Computer Science Made Easy - Youtube ChannelMukesh Tekwani
 
The Elphinstonian 1988-College Building Centenary Number (2).pdf
The Elphinstonian 1988-College Building Centenary Number (2).pdfThe Elphinstonian 1988-College Building Centenary Number (2).pdf
The Elphinstonian 1988-College Building Centenary Number (2).pdfMukesh Tekwani
 
ISCE-Class 12-Question Bank - Electrostatics - Physics
ISCE-Class 12-Question Bank - Electrostatics  -  PhysicsISCE-Class 12-Question Bank - Electrostatics  -  Physics
ISCE-Class 12-Question Bank - Electrostatics - PhysicsMukesh Tekwani
 
Hexadecimal to binary conversion
Hexadecimal to binary conversion Hexadecimal to binary conversion
Hexadecimal to binary conversion Mukesh Tekwani
 
Hexadecimal to decimal conversion
Hexadecimal to decimal conversion Hexadecimal to decimal conversion
Hexadecimal to decimal conversion Mukesh Tekwani
 
Hexadecimal to octal conversion
Hexadecimal to octal conversionHexadecimal to octal conversion
Hexadecimal to octal conversionMukesh Tekwani
 
Gray code to binary conversion
Gray code to binary conversion Gray code to binary conversion
Gray code to binary conversion Mukesh Tekwani
 
Decimal to Binary conversion
Decimal to Binary conversionDecimal to Binary conversion
Decimal to Binary conversionMukesh Tekwani
 
Video Lectures for IGCSE Physics 2020-21
Video Lectures for IGCSE Physics 2020-21Video Lectures for IGCSE Physics 2020-21
Video Lectures for IGCSE Physics 2020-21Mukesh Tekwani
 
Refraction and dispersion of light through a prism
Refraction and dispersion of light through a prismRefraction and dispersion of light through a prism
Refraction and dispersion of light through a prismMukesh Tekwani
 
Refraction of light at a plane surface
Refraction of light at a plane surfaceRefraction of light at a plane surface
Refraction of light at a plane surfaceMukesh Tekwani
 
Atom, origin of spectra Bohr's theory of hydrogen atom
Atom, origin of spectra Bohr's theory of hydrogen atomAtom, origin of spectra Bohr's theory of hydrogen atom
Atom, origin of spectra Bohr's theory of hydrogen atomMukesh Tekwani
 
Refraction of light at spherical surfaces of lenses
Refraction of light at spherical surfaces of lensesRefraction of light at spherical surfaces of lenses
Refraction of light at spherical surfaces of lensesMukesh Tekwani
 
ISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGE
ISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGEISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGE
ISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGEMukesh Tekwani
 

Mais de Mukesh Tekwani (20)

Computer Science Made Easy - Youtube Channel
Computer Science Made Easy - Youtube ChannelComputer Science Made Easy - Youtube Channel
Computer Science Made Easy - Youtube Channel
 
The Elphinstonian 1988-College Building Centenary Number (2).pdf
The Elphinstonian 1988-College Building Centenary Number (2).pdfThe Elphinstonian 1988-College Building Centenary Number (2).pdf
The Elphinstonian 1988-College Building Centenary Number (2).pdf
 
Circular motion
Circular motionCircular motion
Circular motion
 
Gravitation
GravitationGravitation
Gravitation
 
ISCE-Class 12-Question Bank - Electrostatics - Physics
ISCE-Class 12-Question Bank - Electrostatics  -  PhysicsISCE-Class 12-Question Bank - Electrostatics  -  Physics
ISCE-Class 12-Question Bank - Electrostatics - Physics
 
Hexadecimal to binary conversion
Hexadecimal to binary conversion Hexadecimal to binary conversion
Hexadecimal to binary conversion
 
Hexadecimal to decimal conversion
Hexadecimal to decimal conversion Hexadecimal to decimal conversion
Hexadecimal to decimal conversion
 
Hexadecimal to octal conversion
Hexadecimal to octal conversionHexadecimal to octal conversion
Hexadecimal to octal conversion
 
Gray code to binary conversion
Gray code to binary conversion Gray code to binary conversion
Gray code to binary conversion
 
What is Gray Code?
What is Gray Code? What is Gray Code?
What is Gray Code?
 
Decimal to Binary conversion
Decimal to Binary conversionDecimal to Binary conversion
Decimal to Binary conversion
 
Video Lectures for IGCSE Physics 2020-21
Video Lectures for IGCSE Physics 2020-21Video Lectures for IGCSE Physics 2020-21
Video Lectures for IGCSE Physics 2020-21
 
Refraction and dispersion of light through a prism
Refraction and dispersion of light through a prismRefraction and dispersion of light through a prism
Refraction and dispersion of light through a prism
 
Refraction of light at a plane surface
Refraction of light at a plane surfaceRefraction of light at a plane surface
Refraction of light at a plane surface
 
Spherical mirrors
Spherical mirrorsSpherical mirrors
Spherical mirrors
 
Atom, origin of spectra Bohr's theory of hydrogen atom
Atom, origin of spectra Bohr's theory of hydrogen atomAtom, origin of spectra Bohr's theory of hydrogen atom
Atom, origin of spectra Bohr's theory of hydrogen atom
 
Refraction of light at spherical surfaces of lenses
Refraction of light at spherical surfaces of lensesRefraction of light at spherical surfaces of lenses
Refraction of light at spherical surfaces of lenses
 
ISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGE
ISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGEISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGE
ISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGE
 
Cyber Laws
Cyber LawsCyber Laws
Cyber Laws
 
XML
XMLXML
XML
 

Último

ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 

Último (20)

ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 

Flowcharts

  • 1. Flowcharts Mukesh N.Tekwani IsmailYusuf College of Arts, Science and Commerce, Jogeshwari (East), Mumbai tekwani@email.com Presented at the One DayWorkshop Organized by K.P.B. Hinduja College of Commerce, University of Mumbai on the Semester-wise splitT.Y.B.Com and S.Y.B.Com Computer papers on July 20, 2013
  • 2. What is a Flowchart?  What is a flowchart? ◦ Graphical or pictorial representation of an algorithm or problem solving process  Flow? ◦ Indicates the flow of logic, or sequence of steps. ◦ There is a ‘before’ step and an ‘after’ step ◦ Flow control is needed because programs are not linear or top-to-down Mukesh N.Tekwani20 July 2013 2
  • 3. Why flowchart is useful?  A picture is worth a thousand words  Help in understanding complicated logic  Language-independent and so easy to write program in various languages  Good tool for documentation ◦ Verbose syntax of certain languages is difficult to understand; flowchart eliminates the need to know syntax to understand the logic Mukesh N.Tekwani20 July 2013 3
  • 4. What can a Flowchart Represent?  Sequential statements – assignment, calculations, input & output  Branching or Selection Statements – if-then, if-then-else: using Decision Symbol  Looping Statements – for, while loops  Switch-Case statement (successive decision symbols) Mukesh N.Tekwani20 July 2013 4
  • 5. Symbols used in Flowcharts Mukesh N.Tekwani20 July 2013 5
  • 6. Guidelines in Drawing a Flowchart  Logical sequence  Standard symbols  Direction of flow  top-to-down ◦ To jump to a step further down, go from right ◦ To jump to a step above the current step, go from left Mukesh N.Tekwani20 July 2013 6
  • 7. Guidelines in Drawing a Flowchart  Only one flow line should enter a decision symbol  More than one flow line may leave a symbol  Only one flow line used with Stop symbol  Use connector symbol to breakup a complex flowchart  A flowchart must end with the Stop statement Mukesh N.Tekwani20 July 2013 7
  • 8. Flowchart of ‘while’ loop Mukesh N.Tekwani20 July 2013 8
  • 9. Flowchart of ‘for’ loop Mukesh N.Tekwani20 July 2013 9
  • 10. Flowchart of ‘if’ statement Mukesh N.Tekwani20 July 2013 10
  • 11. Flowchart of ‘if-else’ statement Mukesh N.Tekwani20 July 2013 11
  • 12. Flowchart of ‘switch-case’ statement Mukesh N.Tekwani20 July 2013 12
  • 13. Sum of Two Numbers Mukesh N.Tekwani20 July 2013 13
  • 14. START INPUT X, Y Is X > Y ? BIG = X Yes PRINT BIG BIG = Y STOP No L a r g e r O f T w o N u m b e r s Mukesh N.Tekwani20 July 2013 14
  • 15. F a c t o r i a l o f a N u m b e r Yes START Read N F = 1 M = 1 Is M = N? F = F * M Print F No M = M + 1 STOP Assume: N  no. whose factorial is required Mukesh N.Tekwani20 July 2013 15
  • 17. Flowchart – Find the Largest of Three Numbers Mukesh N.Tekwani20 July 2013 17
  • 18. Limitations of Flowcharts  Complex – for lengthy algorithms, flowchart can be very large  difficult to follow  Time-consuming – drawing complex flowcharts can be very time-consuming  Modification – difficult to modify; redraw entire flowchart  Update – program update is easier; not so for flowcharts  redraw flowchart ! Mukesh N.Tekwani20 July 2013 18
  • 19. Exercise  Design an algorithm and the corresponding flowchart for finding the sum of the numbers 2, 4, 6, 8, …, n  Draw a flowchart to read 100 numbers and then display the sum  Draw a flowchart to display all odd numbers between 0 and 1000  Draw a flowchart to find the sum of first 10 natural numbers and then display the sum Mukesh N.Tekwani20 July 2013 19
  • 20. Suggestions  Algorithm  Flowchart  Program  Use programs in C language to develop questions on Algorithms and Flowcharts Mukesh N.Tekwani20 July 2013 20