SlideShare a Scribd company logo
Fundamentals of Algorithm
SUNAWAR KHAN
MSCS
IIUI
Flowcharts
 A flowchart is a type of diagram that uses an algorithm,
workflow or process, showing the steps as boxes of various
kinds, and their order by connecting them with arrows.
 A flowchart is a graphical representation of the sequence of
operations in a program
Flowcharts Symbols
1 Terminal(Start/stop) 2 Process
3 Decision 4 Input/output
5 Connectors 6 Flowlines
Flowcharts Symbols
 Terminal Symbol
Every flowchart has a unique starting point and an ending point. The Starting Point
is indicated with the word START inside the terminator symbol. The Ending Point is
indicated with the word STOP inside the terminator symbol. There can be only one
START and one STOP terminator in you entire flowchart. In case a program logic
involves a pause, it is also indicated with the terminal symbol.
 Input/output Symbol
This symbol is used to denote any input/output function in the program.
Flowcharts Symbols
 Process Symbol
A process symbol is used to represent arithmetic and data movement instructions
in the flowchart. All arithmetic processes of addition, subtraction, multiplication and
division are indicated in the process symbol. If there are more than one process
instructions to be executed sequentially, they can be placed in the same process box.
 Decision Symbol
The decision symbol is used in a flowchart to indicate the point where a decision is to
be made and branching done upon the result of the decision to one or more
alternative paths. The criteria for decision making is written in the decision box.
Flowcharts Symbols
 Flowlines
Flowlines are solid lines with arrowheads which indicate the flow of operation. They
show the exact sequence in which the instructions are to be executed. The normal
flow of the flowchart is depicted from top to bottom and left to right.
 Connectors
whenever the flowchart becomes complex and spreads over a number of pages
connectors are used. The connector represents entry from or exit to another part of
the flowchart. a connector indicates an exit from some section in the flowchart and an
entry into another section.
Advantages of flowcharts
There are a number of advantages when using flowcharts in problem solving.
 Developing the program logic and sequence
 A flowchart being a pictorial representation of a program, makes it easier for the
programmer to explain the logic of the program
 It shows the execution of logical steps without the syntax and language
complexities of a program
 - Flowcharts provide a strong documentation in the overall documentation of the
software system
 Once the flowchart is complete, it becomes very easy for programmers to write
the program from the starting point to the ending point
 A flowchart is very helpful in the process of debugging a program.
Flow Chart Structures
Sequence
Decision
Repetition
.
Flow Chart Structures
 Sequence
A sequence is a flowchart structure that represents a series of steps to be performed
one after another. It is probably the most basic flowchart concept and is commonly
used outside of flowchart design in the form of any sequential step-by-step guide
 Decision
The decision structure in a flowchart diagram is used when there is appropriately a
decision to be made about how to proceed according to what the current state of
program data or progress of a project actually is. A decision structure is also known as
a conditional. In programming, a conditional is a common tool used to help a
program make a decision about what to do. A conditional is also known as an "if,
then" statement in programming languages
Flow Chart Structures
 Repetition
The loop structure is used in a flowchart to indicate where a program or person
should repeat multiple steps until a certain condition is present.

More Related Content

PPT
PPTX
ppt of flowchart
PPT
Flowchart
DOCX
Flowchart symbols
PPTX
What is a flowchart
PPTX
Flowchart
PPTX
Flowchart basics by Gopal Devra
PPTX
Flowchart symbols meaning explained
ppt of flowchart
Flowchart
Flowchart symbols
What is a flowchart
Flowchart
Flowchart basics by Gopal Devra
Flowchart symbols meaning explained

What's hot (20)

PPT
Flow charts
PPTX
Flow chart
PDF
Table Of Flowchart Symbols
PPTX
Flowchart Grade 10
PPT
Flow chart a technique of process communication
PPTX
Flowcharts
PDF
Flow Chart @ppsc(2)
DOC
Flow charts
PPT
Presentation on diagram and flowchart
PPTX
2 flow charts
DOC
Flowcharts
PPTX
PPT
Chap3 flow charts
PPTX
Flow Chart Guide PPT
PPTX
FLOW CHARTS
PPT
Algorithms and flowcharts
PPT
aamir presentation
PPT
Chapter 6 Flowchart
PDF
Flow chart
Flow charts
Flow chart
Table Of Flowchart Symbols
Flowchart Grade 10
Flow chart a technique of process communication
Flowcharts
Flow Chart @ppsc(2)
Flow charts
Presentation on diagram and flowchart
2 flow charts
Flowcharts
Chap3 flow charts
Flow Chart Guide PPT
FLOW CHARTS
Algorithms and flowcharts
aamir presentation
Chapter 6 Flowchart
Flow chart
Ad

Similar to Fundamentals of-algorithm (20)

PPTX
Programming process and flowchart
PPTX
Software Development Technique (Flowchart & Documentation).pptx
PDF
Nota Flowchart.pdf
PPTX
Prepare and Interpret Technical Drawing.pptx
PPT
Lecture 4
PPT
PPTX
module1 new c programming for begginers.pptx
PDF
Flow charts
PDF
final Unit 1-1.pdf
PPTX
Flowcharting and Algorithm
PPTX
Algorithm and flowchart.pptx
PPTX
FLOWCHART.pptx
PPTX
Software develop....
PPTX
Testing flow bblklkkllk nknkllklkjjlkjkljkljk.pptx
PPTX
Data Structures and Algorithms presentation.pptx
PPT
Lecture1-Algorithms-and-Flowcharts-ppt.ppt
PDF
C Programming Lab - Session 1 - Flowcharts for Programs
PPTX
Data Structures and Algorithms presentation.pptx
PPT
Lecture1-Algorithms-and-Flowchart-ppt.ppt
PPT
Lect1-Algorithms-and-Flowchart PPT presentation
Programming process and flowchart
Software Development Technique (Flowchart & Documentation).pptx
Nota Flowchart.pdf
Prepare and Interpret Technical Drawing.pptx
Lecture 4
module1 new c programming for begginers.pptx
Flow charts
final Unit 1-1.pdf
Flowcharting and Algorithm
Algorithm and flowchart.pptx
FLOWCHART.pptx
Software develop....
Testing flow bblklkkllk nknkllklkjjlkjkljkljk.pptx
Data Structures and Algorithms presentation.pptx
Lecture1-Algorithms-and-Flowcharts-ppt.ppt
C Programming Lab - Session 1 - Flowcharts for Programs
Data Structures and Algorithms presentation.pptx
Lecture1-Algorithms-and-Flowchart-ppt.ppt
Lect1-Algorithms-and-Flowchart PPT presentation
Ad

More from International Islamic University (20)

Recently uploaded (20)

PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Business Ethics Teaching Materials for college
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Pre independence Education in Inndia.pdf
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Basic Mud Logging Guide for educational purpose
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
Cell Structure & Organelles in detailed.
PDF
RMMM.pdf make it easy to upload and study
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
Final Presentation General Medicine 03-08-2024.pptx
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Business Ethics Teaching Materials for college
STATICS OF THE RIGID BODIES Hibbelers.pdf
human mycosis Human fungal infections are called human mycosis..pptx
Module 4: Burden of Disease Tutorial Slides S2 2025
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Pre independence Education in Inndia.pdf
O5-L3 Freight Transport Ops (International) V1.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Microbial disease of the cardiovascular and lymphatic systems
Basic Mud Logging Guide for educational purpose
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
VCE English Exam - Section C Student Revision Booklet
Cell Structure & Organelles in detailed.
RMMM.pdf make it easy to upload and study
Renaissance Architecture: A Journey from Faith to Humanism
Final Presentation General Medicine 03-08-2024.pptx

Fundamentals of-algorithm

  • 2. Flowcharts  A flowchart is a type of diagram that uses an algorithm, workflow or process, showing the steps as boxes of various kinds, and their order by connecting them with arrows.  A flowchart is a graphical representation of the sequence of operations in a program
  • 3. Flowcharts Symbols 1 Terminal(Start/stop) 2 Process 3 Decision 4 Input/output 5 Connectors 6 Flowlines
  • 4. Flowcharts Symbols  Terminal Symbol Every flowchart has a unique starting point and an ending point. The Starting Point is indicated with the word START inside the terminator symbol. The Ending Point is indicated with the word STOP inside the terminator symbol. There can be only one START and one STOP terminator in you entire flowchart. In case a program logic involves a pause, it is also indicated with the terminal symbol.  Input/output Symbol This symbol is used to denote any input/output function in the program.
  • 5. Flowcharts Symbols  Process Symbol A process symbol is used to represent arithmetic and data movement instructions in the flowchart. All arithmetic processes of addition, subtraction, multiplication and division are indicated in the process symbol. If there are more than one process instructions to be executed sequentially, they can be placed in the same process box.  Decision Symbol The decision symbol is used in a flowchart to indicate the point where a decision is to be made and branching done upon the result of the decision to one or more alternative paths. The criteria for decision making is written in the decision box.
  • 6. Flowcharts Symbols  Flowlines Flowlines are solid lines with arrowheads which indicate the flow of operation. They show the exact sequence in which the instructions are to be executed. The normal flow of the flowchart is depicted from top to bottom and left to right.  Connectors whenever the flowchart becomes complex and spreads over a number of pages connectors are used. The connector represents entry from or exit to another part of the flowchart. a connector indicates an exit from some section in the flowchart and an entry into another section.
  • 7. Advantages of flowcharts There are a number of advantages when using flowcharts in problem solving.  Developing the program logic and sequence  A flowchart being a pictorial representation of a program, makes it easier for the programmer to explain the logic of the program  It shows the execution of logical steps without the syntax and language complexities of a program  - Flowcharts provide a strong documentation in the overall documentation of the software system  Once the flowchart is complete, it becomes very easy for programmers to write the program from the starting point to the ending point  A flowchart is very helpful in the process of debugging a program.
  • 9. Flow Chart Structures  Sequence A sequence is a flowchart structure that represents a series of steps to be performed one after another. It is probably the most basic flowchart concept and is commonly used outside of flowchart design in the form of any sequential step-by-step guide  Decision The decision structure in a flowchart diagram is used when there is appropriately a decision to be made about how to proceed according to what the current state of program data or progress of a project actually is. A decision structure is also known as a conditional. In programming, a conditional is a common tool used to help a program make a decision about what to do. A conditional is also known as an "if, then" statement in programming languages
  • 10. Flow Chart Structures  Repetition The loop structure is used in a flowchart to indicate where a program or person should repeat multiple steps until a certain condition is present.