SlideShare a Scribd company logo
Flow Charts
Flow Charts
•A diagrammatic representation that illustrates the
sequence of operations to be performed to get the solution
of a problem.
• Generally drawn in the early stages of formulating
computer solutions.
• Facilitate communication between programmers and
business people.
• 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.
• Must for the better documentation of a complex program.
Flow Charts
A flow chart can be used to:

• Define and analyse processes.
• Build a step-by-step picture of the process
  for analysis, discussion, or communication.
• Define, standardise or find areas for
  improvement in a process.
Flow Charts
Symbols for drawing a flowchart:




         Start or End of the program
Flow Charts
Symbols for drawing a flowchart:




Computational Steps or Processing Function
 of a program
Flow Charts
Symbols for drawing a flowchart:




           Input or output operation
Flow Charts
Symbols for drawing a flowchart:




       Decision Making and Branching
Flow Charts
Symbols for drawing a flowchart:




Connector or joining of two parts of program
Flow Charts
Symbols for drawing a flowchart:




                Magnetic Tape
Flow Charts
Symbols for drawing a flowchart:




                Magnetic Disk
Flow Charts
Symbols for drawing a flowchart:




              Off-page connector
Flow Charts
Symbols for drawing a flowchart:




                  Flow lines
Flow Charts
Symbols for drawing a flowchart:




             Annotation (foot note)
Flow Charts
Symbols for drawing a flowchart:




                    Display
Flow Charts
Guidelines in flowcharting -
• In drawing a proper flowchart, all necessary
   requirements should be listed out in logical order.
• The flowchart should be clear, neat and easy to
   follow. There should not be any room for
   ambiguity in understanding the flowchart.
• The usual direction of the flow of a procedure or
   system is from left to right or top to bottom.
Flow Charts
…Guidelines in flowcharting -
• Only one flow line should come out from a
  process symbol.



                  OR
Flow Charts
…Guidelines in flowcharting -
• 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.
Flow Charts

…Guidelines in flowcharting –
 Only one flow line is used in conjunction
 with terminal symbol.
Flow Charts

…Guidelines in flowcharting –
 Write within standard symbols briefly. As
 necessary, you can use the annotation
 symbol to describe data or computational
 steps more clearly.

                  This is confidential data
Flow Charts

…Guidelines in flowcharting –

•   In case of complex flowchart, it is better to use
    connector symbols to reduce the number of flow
    lines. Avoid the intersection of flow lines.
•   Ensure that the flowchart has a logical start and
    finish.
•   It is useful to test the validity of the flowchart by
    passing through it with a simple test data.
Flow Charts
Advantages Of Using Flowcharts :

•   Effective communication
•   Effective analysis
•   Proper documentation
•   Efficient Coding
•   Proper Debugging
•   Efficient Program Maintenance
Flow Charts
Limitations of using Flowcharts :

• Complex logic: Sometimes, the program
  logic is quite complicated.
• Alterations and Modifications:
  Alterations may require re-drawing
  completely.
• Reproduction: As the flowchart symbols
  cannot be typed, reproduction of flowchart
  becomes a problem.
Flow Charts


Example 1.

Draw a flowchart to find the sum of first 50 natural numbers.
Flow Charts

Example 2
 Draw a flowchart to find the largest of three
 numbers A,B and C.
Flow Charts

Example 3
 Draw a flowchart for computing factorial of a
 given number
Assignment
Fill in the blanks-
2. A program flowchart indicates the_________ to be performed and
     the __________ in which they occur.
3. A program flowchart is generally read from _____________ to
     ________________
4. Flowcharting symbols are connected together by means of
     ___________________
5. A decision symbol may be used in determining the ____________ or
     ___________ of two data items.
6. __________ are used to join remote portions of a flowchart
7. ____________ connectors are used when a flowchart ends on one
     page and begins again on other page
8. A ________ symbol is used at the beginning and end of a flowchart.
9. The flowchart is one of the best ways of ________ a program..
10. To construct a flowchart, one must adhere to prescribed symbols
     provided by the __________ .
11. The program uses a ____________ to aid it in drawing flowchart
     symbols.
Answers

•   Operations, sequence
•   Top, down
•   Flow line
•   Equality, inequality
•   connectors
•   Off -page
•   Terminal
•   documenting
•   ANSI (American National Standards Institute)
•   Flowcharting template
Structured English
Structured English
•   Structured English is a tool used to represent
    process logic.
•   Syntax rules are not very strict & an English
    statement is used to specify an action.
•   The main aim is to allow easy readability, which
    helps in documentation.

Two building blocks of Structured English:
6. Structured logic or instructions organized into
   nested or grouped procedures
7. Simple English statements such as add, multiply,
   move
Structured English
Four conventions to follow when using Structured
   English:

•   Express all logic in terms of sequential structures,
    decision structures, or iterations.
•   Use upper case for keywords such as: IF, THEN,
    ELSE, DO, DO WHILE, DO UNTIL, PERFORM
•   Indent blocks of statements to show their
    hierarchy (nesting) clearly.
•   When words or phrases have been defined,
    underline those words or phrases to indicate that
    they have a specialised, reserved meaning.
The Flow of Structured English




 Plain       Structured             Pseudocode    Programs
English        English



User                      Analyst                Programmer
…Structured English

The conventions are used in writing structured
   English:
• Imperative Sentences: Store the data in
   database.
• Arithmetic & Relational Operations :
   Common symbols of mathematics are used
   in structured English such as- + for add, - for
   subtraction etc. and =, >=, != etc. are used
   for relational operations.
…Structured English
3. Decision Structures: If Then Else, Select
    Case
4. Repetion: Loops

   There are various forms in which structured
   english can be implemented to solve the
   problem. e.g. Algorithm, Flowchart,
   pseudocode.
…Structured English
Writing Structured English
       Repetition              Conditions

                       IF … THEN …
DO
                               statements …
  statements …           ELSE
UNTIL end-condition            statements …
                       END IF
           or                       or
                      SELECT
                        CASE 1 (conditions)
DO WHILE
                              statements …
  statements …          CASE 2 …
END DO                        statements …
                       END SELECT
Pseudocode
Pseudocode


• An outline of a program, written in a
  form that can easily be converted into
  real programming statements.
• Pseudocode cannot be compiled nor
  executed, and there are no real
  formatting or syntax rules.
…Pseudocode

• It   enables     the   programmer     to
  concentrate on the algorithms without
  worrying about all the syntactic details
  of a particular programming language.

• Flowcharts can be thought of as a
  graphical form of pseudocode.
Example of Pseudocode
Regular code (written in PHP):
<?php
if (is_valid($cc_number))
{ execute_transaction($cc_number, $order); }
else { show_failure(); }
?>
Pseudocode:
if credit card number is valid
       execute transaction based on number and
       order
else show a generic failure message
end if

More Related Content

What's hot

Algorithms and Flowcharts
Algorithms and FlowchartsAlgorithms and Flowcharts
Algorithms and Flowcharts
Deva Singh
 
Algorithm and Flowcharts
Algorithm and FlowchartsAlgorithm and Flowcharts
Algorithm and Flowcharts
SURBHI SAROHA
 
Managing input and output operations in c
Managing input and output operations in cManaging input and output operations in c
Managing input and output operations in c
niyamathShariff
 
Learn C# Programming - Variables & Constants
Learn C# Programming - Variables & ConstantsLearn C# Programming - Variables & Constants
Learn C# Programming - Variables & Constants
Eng Teong Cheah
 
Microsoft Excel Training
Microsoft Excel TrainingMicrosoft Excel Training
Microsoft Excel Training
HudaRaghibKadhim
 
System modeling
System modelingSystem modeling
System modeling
Sajan Poudel
 
pseudo code basics
pseudo code basicspseudo code basics
pseudo code basics
Sabik T S
 
Ch1-Operating System Concept
Ch1-Operating System ConceptCh1-Operating System Concept
Ch1-Operating System Concept
Muhammad Bilal Tariq
 
Decision making and branching
Decision making and branchingDecision making and branching
Decision making and branching
Hossain Md Shakhawat
 
Problem Solving Techniques and Introduction to C
Problem Solving Techniques and Introduction to CProblem Solving Techniques and Introduction to C
Problem Solving Techniques and Introduction to C
Prabu U
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
Rabin BK
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming conceptssalmankhan570
 
Applications of Mealy & Moore Machine
Applications of  Mealy  & Moore Machine Applications of  Mealy  & Moore Machine
Applications of Mealy & Moore Machine
SardarKashifKhan
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
Sachin Goyani
 

What's hot (20)

Algorithms and Flowcharts
Algorithms and FlowchartsAlgorithms and Flowcharts
Algorithms and Flowcharts
 
Algorithm and Flowcharts
Algorithm and FlowchartsAlgorithm and Flowcharts
Algorithm and Flowcharts
 
Managing input and output operations in c
Managing input and output operations in cManaging input and output operations in c
Managing input and output operations in c
 
Learn C# Programming - Variables & Constants
Learn C# Programming - Variables & ConstantsLearn C# Programming - Variables & Constants
Learn C# Programming - Variables & Constants
 
Microsoft Excel Training
Microsoft Excel TrainingMicrosoft Excel Training
Microsoft Excel Training
 
System modeling
System modelingSystem modeling
System modeling
 
pseudo code basics
pseudo code basicspseudo code basics
pseudo code basics
 
Ch1-Operating System Concept
Ch1-Operating System ConceptCh1-Operating System Concept
Ch1-Operating System Concept
 
Decision making and branching
Decision making and branchingDecision making and branching
Decision making and branching
 
Problem Solving Techniques and Introduction to C
Problem Solving Techniques and Introduction to CProblem Solving Techniques and Introduction to C
Problem Solving Techniques and Introduction to C
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
 
Break and continue
Break and continueBreak and continue
Break and continue
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
 
Type conversion
Type conversionType conversion
Type conversion
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming concepts
 
Basic Input and Output
Basic Input and OutputBasic Input and Output
Basic Input and Output
 
Applications of Mealy & Moore Machine
Applications of  Mealy  & Moore Machine Applications of  Mealy  & Moore Machine
Applications of Mealy & Moore Machine
 
Translators(Compiler, Assembler) and interpreter
Translators(Compiler, Assembler) and interpreterTranslators(Compiler, Assembler) and interpreter
Translators(Compiler, Assembler) and interpreter
 
Structure
StructureStructure
Structure
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
 

Viewers also liked

Chap3 flow charts
Chap3 flow chartsChap3 flow charts
Chap3 flow chartsamit139
 
Flowchart
FlowchartFlowchart
Flowchart
HRdebajit
 
Introduction to flowchart
Introduction to flowchartIntroduction to flowchart
Introduction to flowchart
Jordan Delacruz
 
Pseudocode flowcharts
Pseudocode flowchartsPseudocode flowcharts
Pseudocode flowchartsnicky_walters
 
L7 decision tree & table
L7 decision tree & tableL7 decision tree & table
L7 decision tree & tableNeha Gupta
 
Flowchart and algorithm
Flowchart and algorithmFlowchart and algorithm
Flowchart and algorithm
Sayali Shivarkar
 
Flowchart pseudocode-examples
Flowchart pseudocode-examplesFlowchart pseudocode-examples
Flowchart pseudocode-examples
Gautam Roy
 
Algorithm and flowchart2010
Algorithm and flowchart2010Algorithm and flowchart2010
Algorithm and flowchart2010
Jordan Delacruz
 
Flowcharts
FlowchartsFlowcharts
Flowcharts
solielmutya
 
Let My Patients Flow-Streamlining the OR Suite
Let My Patients Flow-Streamlining the OR SuiteLet My Patients Flow-Streamlining the OR Suite
Let My Patients Flow-Streamlining the OR Suite
ProModel Corporation
 
Outflow: Visualizing Patients Flow by Symptoms & Outcome
Outflow: Visualizing Patients Flow by Symptoms & OutcomeOutflow: Visualizing Patients Flow by Symptoms & Outcome
Outflow: Visualizing Patients Flow by Symptoms & Outcome
Krist Wongsuphasawat
 
Mcs Hospital
Mcs HospitalMcs Hospital
Mcs Hospitalkgnmatin
 
5 Things
5 Things5 Things
5 Things
Anne Hagstrom
 
Computer programming:Know How to Flowchart
Computer  programming:Know How to FlowchartComputer  programming:Know How to Flowchart
Computer programming:Know How to Flowchart
Angelo Tomboc
 
Determining Requirements In System Analysis And Dsign
Determining Requirements In System Analysis And DsignDetermining Requirements In System Analysis And Dsign
Determining Requirements In System Analysis And Dsign
Asaduzzaman Kanok
 
Flowchart - Sistem Komputer
Flowchart - Sistem KomputerFlowchart - Sistem Komputer
Flowchart - Sistem Komputer
Andita Eka Wahyuni
 
Walter Van Beirendonck: a Fashion Illustration Process
Walter Van Beirendonck: a Fashion Illustration ProcessWalter Van Beirendonck: a Fashion Illustration Process
Walter Van Beirendonck: a Fashion Illustration Process
Sunflowerman
 

Viewers also liked (20)

Chap3 flow charts
Chap3 flow chartsChap3 flow charts
Chap3 flow charts
 
Flowchart
FlowchartFlowchart
Flowchart
 
Flow charts
Flow chartsFlow charts
Flow charts
 
Introduction to flowchart
Introduction to flowchartIntroduction to flowchart
Introduction to flowchart
 
Pseudocode flowcharts
Pseudocode flowchartsPseudocode flowcharts
Pseudocode flowcharts
 
Flowchart
FlowchartFlowchart
Flowchart
 
L7 decision tree & table
L7 decision tree & tableL7 decision tree & table
L7 decision tree & table
 
Flowchart and algorithm
Flowchart and algorithmFlowchart and algorithm
Flowchart and algorithm
 
Writing algorithms
Writing algorithmsWriting algorithms
Writing algorithms
 
Flowchart pseudocode-examples
Flowchart pseudocode-examplesFlowchart pseudocode-examples
Flowchart pseudocode-examples
 
Algorithm and flowchart2010
Algorithm and flowchart2010Algorithm and flowchart2010
Algorithm and flowchart2010
 
Flowcharts
FlowchartsFlowcharts
Flowcharts
 
Let My Patients Flow-Streamlining the OR Suite
Let My Patients Flow-Streamlining the OR SuiteLet My Patients Flow-Streamlining the OR Suite
Let My Patients Flow-Streamlining the OR Suite
 
Outflow: Visualizing Patients Flow by Symptoms & Outcome
Outflow: Visualizing Patients Flow by Symptoms & OutcomeOutflow: Visualizing Patients Flow by Symptoms & Outcome
Outflow: Visualizing Patients Flow by Symptoms & Outcome
 
Mcs Hospital
Mcs HospitalMcs Hospital
Mcs Hospital
 
5 Things
5 Things5 Things
5 Things
 
Computer programming:Know How to Flowchart
Computer  programming:Know How to FlowchartComputer  programming:Know How to Flowchart
Computer programming:Know How to Flowchart
 
Determining Requirements In System Analysis And Dsign
Determining Requirements In System Analysis And DsignDetermining Requirements In System Analysis And Dsign
Determining Requirements In System Analysis And Dsign
 
Flowchart - Sistem Komputer
Flowchart - Sistem KomputerFlowchart - Sistem Komputer
Flowchart - Sistem Komputer
 
Walter Van Beirendonck: a Fashion Illustration Process
Walter Van Beirendonck: a Fashion Illustration ProcessWalter Van Beirendonck: a Fashion Illustration Process
Walter Van Beirendonck: a Fashion Illustration Process
 

Similar to Lecture 4

final Unit 1-1.pdf
final Unit 1-1.pdffinal Unit 1-1.pdf
final Unit 1-1.pdf
prakashvs7
 
Algorithm & Flowchart.pdf
Algorithm & Flowchart.pdfAlgorithm & Flowchart.pdf
Algorithm & Flowchart.pdf
Vpmv
 
Pseudo code.pptx
Pseudo code.pptxPseudo code.pptx
Pseudo code.pptx
Chaya64047
 
Prepare and Interpret Technical Drawing.pptx
Prepare and Interpret Technical Drawing.pptxPrepare and Interpret Technical Drawing.pptx
Prepare and Interpret Technical Drawing.pptx
RivenBarquilla
 
Lesson 1 of c programming algorithms and flowcharts.pptx
Lesson 1 of c programming algorithms and flowcharts.pptxLesson 1 of c programming algorithms and flowcharts.pptx
Lesson 1 of c programming algorithms and flowcharts.pptx
AlinaMishra7
 
Flowchart Grade 10
Flowchart Grade 10Flowchart Grade 10
Flowchart Grade 10
ninoallandanganancarpio
 
Flow charts
Flow chartsFlow charts
Flow charts
Aditya Sharat
 
Problem-solving and design 1.pptx
Problem-solving and design 1.pptxProblem-solving and design 1.pptx
Problem-solving and design 1.pptx
TadiwaMawere
 
PCCF UNIT 1.pptx
PCCF UNIT 1.pptxPCCF UNIT 1.pptx
PCCF UNIT 1.pptx
DivyaKS12
 
Flowchart symbols meaning explained
Flowchart symbols meaning explainedFlowchart symbols meaning explained
Flowchart symbols meaning explained
Eliza Wright
 
Introduction to computer science
Introduction to computer scienceIntroduction to computer science
Introduction to computer science
umardanjumamaiwada
 
lecture 5
 lecture 5 lecture 5
lecture 5
umardanjumamaiwada
 
What is algorithm
What is algorithmWhat is algorithm
What is algorithm
mshoaib15
 
Algorithmic problem sloving
Algorithmic problem slovingAlgorithmic problem sloving
Algorithmic problem sloving
Mani Kandan
 
Flowcharting and Algorithm
Flowcharting and Algorithm Flowcharting and Algorithm
Flowcharting and Algorithm
Zeinna Belle Desamito
 
C programming for Computing Techniques
C programming for Computing TechniquesC programming for Computing Techniques
C programming for Computing Techniques
Appili Vamsi Krishna
 

Similar to Lecture 4 (20)

final Unit 1-1.pdf
final Unit 1-1.pdffinal Unit 1-1.pdf
final Unit 1-1.pdf
 
aamir presentation
aamir presentationaamir presentation
aamir presentation
 
Algorithm & Flowchart.pdf
Algorithm & Flowchart.pdfAlgorithm & Flowchart.pdf
Algorithm & Flowchart.pdf
 
Pseudo code.pptx
Pseudo code.pptxPseudo code.pptx
Pseudo code.pptx
 
algorithm
algorithmalgorithm
algorithm
 
Prepare and Interpret Technical Drawing.pptx
Prepare and Interpret Technical Drawing.pptxPrepare and Interpret Technical Drawing.pptx
Prepare and Interpret Technical Drawing.pptx
 
Lesson 1 of c programming algorithms and flowcharts.pptx
Lesson 1 of c programming algorithms and flowcharts.pptxLesson 1 of c programming algorithms and flowcharts.pptx
Lesson 1 of c programming algorithms and flowcharts.pptx
 
Flowchart Grade 10
Flowchart Grade 10Flowchart Grade 10
Flowchart Grade 10
 
Flow charts
Flow chartsFlow charts
Flow charts
 
Problem-solving and design 1.pptx
Problem-solving and design 1.pptxProblem-solving and design 1.pptx
Problem-solving and design 1.pptx
 
PCCF UNIT 1.pptx
PCCF UNIT 1.pptxPCCF UNIT 1.pptx
PCCF UNIT 1.pptx
 
Flowchart symbols meaning explained
Flowchart symbols meaning explainedFlowchart symbols meaning explained
Flowchart symbols meaning explained
 
Fundamentals of-algorithm
Fundamentals of-algorithmFundamentals of-algorithm
Fundamentals of-algorithm
 
Introduction to computer science
Introduction to computer scienceIntroduction to computer science
Introduction to computer science
 
lecture 5
 lecture 5 lecture 5
lecture 5
 
Chap6
Chap6Chap6
Chap6
 
What is algorithm
What is algorithmWhat is algorithm
What is algorithm
 
Algorithmic problem sloving
Algorithmic problem slovingAlgorithmic problem sloving
Algorithmic problem sloving
 
Flowcharting and Algorithm
Flowcharting and Algorithm Flowcharting and Algorithm
Flowcharting and Algorithm
 
C programming for Computing Techniques
C programming for Computing TechniquesC programming for Computing Techniques
C programming for Computing Techniques
 

More from Anshumali Singh

Unit3rd
Unit3rdUnit3rd
Unit2[1]
Unit2[1]Unit2[1]
Unit2[1]
Anshumali Singh
 
Unit2[1]
Unit2[1]Unit2[1]
Unit2[1]
Anshumali Singh
 
Unit2.2
Unit2.2Unit2.2
Unit2.1
Unit2.1Unit2.1
Unit2.1
Unit2.1Unit2.1
Unit2(Cont.)
Unit2(Cont.)Unit2(Cont.)
Unit2(Cont.)
Anshumali Singh
 
Unit2
Unit2Unit2
Shai 2
Shai 2Shai 2
Shai
ShaiShai
Outputdevice
OutputdeviceOutputdevice
Outputdevice
Anshumali Singh
 
Lecture 9
Lecture 9Lecture 9
Lecture 9
Anshumali Singh
 
Lecture 8
Lecture 8Lecture 8
Lecture 8
Anshumali Singh
 
Lecture 7
Lecture 7Lecture 7
Lecture 7
Anshumali Singh
 
Lecture 6
Lecture 6Lecture 6
Lecture 6
Anshumali Singh
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
Anshumali Singh
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
Anshumali Singh
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
Anshumali Singh
 
Lecture2
Lecture2Lecture2
Lecture2
Anshumali Singh
 

More from Anshumali Singh (20)

Unit3rd
Unit3rdUnit3rd
Unit3rd
 
Unit2[1]
Unit2[1]Unit2[1]
Unit2[1]
 
Unit2[1]
Unit2[1]Unit2[1]
Unit2[1]
 
Unit2.2
Unit2.2Unit2.2
Unit2.2
 
Unit2.1
Unit2.1Unit2.1
Unit2.1
 
Unit2.1
Unit2.1Unit2.1
Unit2.1
 
Unit2(Cont.)
Unit2(Cont.)Unit2(Cont.)
Unit2(Cont.)
 
Unit2
Unit2Unit2
Unit2
 
Shai 2
Shai 2Shai 2
Shai 2
 
Shai
ShaiShai
Shai
 
Outputdevice
OutputdeviceOutputdevice
Outputdevice
 
Lecture 9
Lecture 9Lecture 9
Lecture 9
 
Lecture 8
Lecture 8Lecture 8
Lecture 8
 
Lecture 7
Lecture 7Lecture 7
Lecture 7
 
Lecture 6
Lecture 6Lecture 6
Lecture 6
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 
Lecture 6
Lecture 6Lecture 6
Lecture 6
 
Lecture2
Lecture2Lecture2
Lecture2
 

Recently uploaded

Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
nkrafacyberclub
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 

Recently uploaded (20)

Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 

Lecture 4

  • 2. Flow Charts •A diagrammatic representation that illustrates the sequence of operations to be performed to get the solution of a problem. • Generally drawn in the early stages of formulating computer solutions. • Facilitate communication between programmers and business people. • 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. • Must for the better documentation of a complex program.
  • 3. Flow Charts A flow chart can be used to: • Define and analyse processes. • Build a step-by-step picture of the process for analysis, discussion, or communication. • Define, standardise or find areas for improvement in a process.
  • 4. Flow Charts Symbols for drawing a flowchart: Start or End of the program
  • 5. Flow Charts Symbols for drawing a flowchart: Computational Steps or Processing Function of a program
  • 6. Flow Charts Symbols for drawing a flowchart: Input or output operation
  • 7. Flow Charts Symbols for drawing a flowchart: Decision Making and Branching
  • 8. Flow Charts Symbols for drawing a flowchart: Connector or joining of two parts of program
  • 9. Flow Charts Symbols for drawing a flowchart: Magnetic Tape
  • 10. Flow Charts Symbols for drawing a flowchart: Magnetic Disk
  • 11. Flow Charts Symbols for drawing a flowchart: Off-page connector
  • 12. Flow Charts Symbols for drawing a flowchart: Flow lines
  • 13. Flow Charts Symbols for drawing a flowchart: Annotation (foot note)
  • 14. Flow Charts Symbols for drawing a flowchart: Display
  • 15. Flow Charts Guidelines in flowcharting - • In drawing a proper flowchart, all necessary requirements should be listed out in logical order. • The flowchart should be clear, neat and easy to follow. There should not be any room for ambiguity in understanding the flowchart. • The usual direction of the flow of a procedure or system is from left to right or top to bottom.
  • 16. Flow Charts …Guidelines in flowcharting - • Only one flow line should come out from a process symbol. OR
  • 17. Flow Charts …Guidelines in flowcharting - • 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.
  • 18. Flow Charts …Guidelines in flowcharting – Only one flow line is used in conjunction with terminal symbol.
  • 19. Flow Charts …Guidelines in flowcharting – Write within standard symbols briefly. As necessary, you can use the annotation symbol to describe data or computational steps more clearly. This is confidential data
  • 20. Flow Charts …Guidelines in flowcharting – • In case of complex flowchart, it is better to use connector symbols to reduce the number of flow lines. Avoid the intersection of flow lines. • Ensure that the flowchart has a logical start and finish. • It is useful to test the validity of the flowchart by passing through it with a simple test data.
  • 21. Flow Charts Advantages Of Using Flowcharts : • Effective communication • Effective analysis • Proper documentation • Efficient Coding • Proper Debugging • Efficient Program Maintenance
  • 22. Flow Charts Limitations of using Flowcharts : • Complex logic: Sometimes, the program logic is quite complicated. • Alterations and Modifications: Alterations may require re-drawing completely. • Reproduction: As the flowchart symbols cannot be typed, reproduction of flowchart becomes a problem.
  • 23. Flow Charts Example 1. Draw a flowchart to find the sum of first 50 natural numbers.
  • 24.
  • 25. Flow Charts Example 2 Draw a flowchart to find the largest of three numbers A,B and C.
  • 26.
  • 27. Flow Charts Example 3 Draw a flowchart for computing factorial of a given number
  • 28.
  • 29. Assignment Fill in the blanks- 2. A program flowchart indicates the_________ to be performed and the __________ in which they occur. 3. A program flowchart is generally read from _____________ to ________________ 4. Flowcharting symbols are connected together by means of ___________________ 5. A decision symbol may be used in determining the ____________ or ___________ of two data items. 6. __________ are used to join remote portions of a flowchart 7. ____________ connectors are used when a flowchart ends on one page and begins again on other page 8. A ________ symbol is used at the beginning and end of a flowchart. 9. The flowchart is one of the best ways of ________ a program.. 10. To construct a flowchart, one must adhere to prescribed symbols provided by the __________ . 11. The program uses a ____________ to aid it in drawing flowchart symbols.
  • 30. Answers • Operations, sequence • Top, down • Flow line • Equality, inequality • connectors • Off -page • Terminal • documenting • ANSI (American National Standards Institute) • Flowcharting template
  • 32. Structured English • Structured English is a tool used to represent process logic. • Syntax rules are not very strict & an English statement is used to specify an action. • The main aim is to allow easy readability, which helps in documentation. Two building blocks of Structured English: 6. Structured logic or instructions organized into nested or grouped procedures 7. Simple English statements such as add, multiply, move
  • 33. Structured English Four conventions to follow when using Structured English: • Express all logic in terms of sequential structures, decision structures, or iterations. • Use upper case for keywords such as: IF, THEN, ELSE, DO, DO WHILE, DO UNTIL, PERFORM • Indent blocks of statements to show their hierarchy (nesting) clearly. • When words or phrases have been defined, underline those words or phrases to indicate that they have a specialised, reserved meaning.
  • 34. The Flow of Structured English Plain Structured Pseudocode Programs English English User Analyst Programmer
  • 35. …Structured English The conventions are used in writing structured English: • Imperative Sentences: Store the data in database. • Arithmetic & Relational Operations : Common symbols of mathematics are used in structured English such as- + for add, - for subtraction etc. and =, >=, != etc. are used for relational operations.
  • 36. …Structured English 3. Decision Structures: If Then Else, Select Case 4. Repetion: Loops There are various forms in which structured english can be implemented to solve the problem. e.g. Algorithm, Flowchart, pseudocode.
  • 38. Writing Structured English Repetition Conditions IF … THEN … DO statements … statements … ELSE UNTIL end-condition statements … END IF or or SELECT CASE 1 (conditions) DO WHILE statements … statements … CASE 2 … END DO statements … END SELECT
  • 40. Pseudocode • An outline of a program, written in a form that can easily be converted into real programming statements. • Pseudocode cannot be compiled nor executed, and there are no real formatting or syntax rules.
  • 41. …Pseudocode • It enables the programmer to concentrate on the algorithms without worrying about all the syntactic details of a particular programming language. • Flowcharts can be thought of as a graphical form of pseudocode.
  • 42. Example of Pseudocode Regular code (written in PHP): <?php if (is_valid($cc_number)) { execute_transaction($cc_number, $order); } else { show_failure(); } ?> Pseudocode: if credit card number is valid execute transaction based on number and order else show a generic failure message end if