SlideShare a Scribd company logo
Introduction To Flowcharting
Today’s Topics Flowchart Symbols
Structures
Sequence
Selection
RepetitionFlowchart:Represents an algorithm in graphical symbols
Flowchart Symbols
Flowchart Symbols
Comments or description
Connectors on the same page 1- connection on the same flowchart portion2- connection on the differentflowchart portion
Connectors on a different page Page 2Page 1
The detail of how the function worksis put in another flowchart. This is known as Function-DefinitionPage 1Page 2Start terminal for aFunction is different.Do not use “Start”Body of a function is the same with normal flowchartAt this point, we only focus on whatto do. How to do it,  it comes later.This part is known asFunction-CallEnd terminal must be a “Return”FunctionThis flowchart calculates the average of three numbers
The main flowcharting structuresSequenceSelectionRepetition A flowchart expressing the solution to an involved problem may have:the main program flowchart on one page with subprograms continuing the problem solution on subsequent pages.
Each of the five acceptable structures can be built from the basic elements as shown below.
Each of the five acceptable structures can be built from the basic elements as shown below.
Each of the five acceptable structures can be built from the basic elements as shown below.
SequenceIn a computer program or an algorithm, sequence involves simple steps which are to be executed one after the other. The steps are executed in the same order in which they are written.In a flowchart, sequence is expressed as:In pseudocode, sequence is expressed as:process 1process 2

process n
SequenceAn Example Using SequenceProblem: Write a set of instructions that describe how to make a pot of tea.PseudocodeBEGINfill a kettle with waterboil the water in the kettleput the tea leaves in the potpour boiling water in the potENDFlowchart
Selection is used in a computer program or algorithm to determine which particular step or set of steps is to be executedBinary SelectionIn pseudocode, binary selection is expressed in the following ways:   IF condition THENprocess 1ENDIFIF condition THENprocess 1ELSEprocess 2ENDIFBinary SelectionIn flowcharts, binary selection is expressed in the following ways:
SelectionBinary (structure)Binary SelectionIn pseudocode, binary selection is expressed in the following ways:  IF condition THENprocess 1ENDIF  IF condition THENprocess 1ELSEprocess 2ENDIFBinary SelectionIn flowcharts, binary selection is expressed in the following ways:
SelectionBinary (flowchart structure)Note: In a flowchart it is most important to indicate which path is to be followed when the condition is true, and which path to follow when the condition is false. Without these indications the flowchart is open to more than one interpretation.Note: There are two acceptable ways to represent a decision in all of the structures.Either method is acceptable. For consistency, the method 1 is used throughout this document.The condition is expressed as a statement and the two possible outcomes are indicated byTrue
False2.  The condition is expressed as a question and the two possible outcomes are indicated by Yes
NoSelectionBinary (examples)Selection is used in a computer program or algorithm to determine which particular step or set of steps is to be executed.Examples Using Binary SelectionProblem 1: Write a set of instructions to describe when to answer the phone. Binary SelectionFlowchartBinary SelectionPseudocodeIF the telephone is ringing THENanswer the telephoneENDIF
SelectionBinary (examples)Examples Using Binary SelectionProblem 2: Write a set of instructions to follow when approaching a set of traffic control lights.Binary SelectionFlowchartBinary SelectionPseudocodeIF the signal is green THENproceed through the intersectionELSEstop the vehicleENDIF
SelectionMulti-way (structure)Multi-way SelectionIn flowcharts, multi-way selection is expressed as:Multi-way SelectionIn pseudocode, multiple selection is expressed as:CASEWHERE expression evaluates tochoice a      :      process achoice b      :      process b      . 		     .      . 		     .      . 		     .    OTHERWISE  :      default processENDCASENote: As the flowchart version of the multi-way selection indicates, only one process on each pass is executed as a result of the implementation of the multi-way selection.
SelectionMulti-way (examples)Example Using Multi-way SelectionProblem: Write a set of instructions that describes how to:respond to all possible signals at a set of traffic control lights.Multi-way SelectionFlowchartMulti-way SelectionPseudocodeCASEWHERE signal isred              : stop the vehicleamber         : stop the vehiclegreen          : proceed through the intersection     OTHERWISE  : proceed with cautionENDCASE
RepetitionRepetition allows for a portion of an algorithm or computer programto be done any number of times dependent on some condition being met. An occurrence of repetition is usually known as a loop.An essential feature of repetition is that each loop has a termination condition to stop the repetition, or the obvious outcome is that the loop never completes execution (an infinite loop). The termination condition can be checked or testedat the beginning and is known as a pre-test loop orat the end of the loop and is known as a post-test loop.
RepetitionPre-test(structure)Repetition: Pre-TestA pre-tested loop is so named because the condition has to be met atthe very beginning of the loop or the body of the loop is not executed. This construct is often called a guarded loop. Thebody of the loop is executed repeatedly while the termination condition is true.RepetitionIn flowchartingpre-test repetition is expressed as:RepetitionIn pseudocode, pre-test repetition is expressed as:WHILE condition is trueprocess(es)ENDWHILE
Repetition Post-test(structure)Repetition: Post-TestA post-tested loop executes the body of the loop before testing the termination condition.
This construct is often referred to as an unguarded loop.
The body of the loop is repeatedly executed until the termination condition is true.An important difference between a pre-test and post-test loop is that the statements of a post-test loop are executed at least once even if the condition is originally true, whereas the body of the pre-test loop may never be executed if the termination condition is originally true. A close look at the representations of the two loop types makes this point apparent.RepetitionIn a flowchartpost-test repetition is expressed as:RepetitionIn pseudocode, post-test repetition is expressed as:REPEATprocessUNTIL condition is true
Repetition Pre-test(example)An Example Using Pre-Test RepetitionProblem: Determine a safety procedure for travelling in a carriage on a moving train.Pre-test RepetitionFlowchartPre-test RepetitionPseudocodeWHILE the train is movingkeep wholly within the carriageENDWHILE
Repetition Post-test(example)An Example Using Post-Test RepetitionProblem: Determine a procedure to beat egg whites until fluffy.Post-test RepetitionFlowchartPost-test RepetitionPseudocodeREPEATbeat the egg whitesUNTIL fluffy
Input:Length <- 5Width  <- 3Process:Area = 5 * 3 = 15Process:Perimeter =       2* (5+3)    = 16OutputArea: 15Perimeter: 16Example:

More Related Content

What's hot (20)

PPTX
Introduction to programming
Neeru Mittal
 
PPTX
Parts of Keyboard
AbangLingkod Mendoza
 
PPTX
Flowcharts
Surendra Arora
 
PPTX
Programming Fundamentals lecture 1
REHAN IJAZ
 
PPTX
What is an algorithm?
Angela DeHart
 
PPTX
Chapter 1 introduction to computers
haider ali
 
PDF
Flowchart
Syed Zaid Irshad
 
PPTX
introduction to Basic parts of the computer
clark bro
 
PPT
Program logic and design
Chaffey College
 
PPTX
Computer Hardware: Parts & Functions
Ray Monterola
 
PPTX
Binary computing
samina khan
 
PPTX
Peripheral devices
Annie Farooq
 
PPTX
structured programming
Ahmad54321
 
PPTX
Flowchart symbols meaning explained
Eliza Wright
 
PPT
Computer Organization and Assembly Language
fasihuddin90
 
PPTX
Algorithm and flowchart
Rabin BK
 
PDF
Introduction To Computer
Abu Bakar Soomro
 
PPTX
KEYBOARD
MIKIN KAUSHIK
 
PPTX
Keyboard and-proper-finger-positioning
ziway
 
PPS
Keyboarding Technique PowerPoint
MrsBallard
 
Introduction to programming
Neeru Mittal
 
Parts of Keyboard
AbangLingkod Mendoza
 
Flowcharts
Surendra Arora
 
Programming Fundamentals lecture 1
REHAN IJAZ
 
What is an algorithm?
Angela DeHart
 
Chapter 1 introduction to computers
haider ali
 
Flowchart
Syed Zaid Irshad
 
introduction to Basic parts of the computer
clark bro
 
Program logic and design
Chaffey College
 
Computer Hardware: Parts & Functions
Ray Monterola
 
Binary computing
samina khan
 
Peripheral devices
Annie Farooq
 
structured programming
Ahmad54321
 
Flowchart symbols meaning explained
Eliza Wright
 
Computer Organization and Assembly Language
fasihuddin90
 
Algorithm and flowchart
Rabin BK
 
Introduction To Computer
Abu Bakar Soomro
 
KEYBOARD
MIKIN KAUSHIK
 
Keyboard and-proper-finger-positioning
ziway
 
Keyboarding Technique PowerPoint
MrsBallard
 

Similar to Introduction to flowchart (20)

PDF
Introductiontoflowchart 110630082600-phpapp01
VincentAcapen1
 
PPT
Lect 3-4 Zaheer Abbas
Information Technology Center
 
PPT
Ch05
Arriz San Juan
 
PDF
Chapter 3 - Flow of Control Part II.pdf
KirubelWondwoson1
 
PPTX
UNIT 1.pptx
ShaswatSurya
 
PDF
detail of flowchart and algorithm that are used in programmingpdf
ssuserf86fba
 
PDF
Algorithm Flowchart Manual ALGORITHM FLOWCHART MANUAL For STUDENTS
Alicia Edwards
 
PDF
Algorithm manual
EfendyMasuli
 
PPT
03b loops
Manzoor ALam
 
PPT
7-White Box Testing.ppt
HirenderPal
 
PPT
Ch3 repetition
Hattori Sidek
 
PDF
Software Verification, Validation and Testing
Dr Sukhpal Singh Gill
 
PPTX
Loops c++
Shivani Singh
 
PPTX
Managing input and output operations & Decision making and branching and looping
letheyabala
 
PPTX
C Programming Unit-2
Vikram Nandini
 
PPTX
Switch case and looping
ChaAstillas
 
PPSX
White Box testing by Pankaj Thakur, NITTTR Chandigarh
Pankaj Thakur
 
PPT
Csphtp1 04
HUST
 
PPT
Lecture 1
Mohammed Saleh
 
PPT
Lecture 1
Mohammed Saleh
 
Introductiontoflowchart 110630082600-phpapp01
VincentAcapen1
 
Lect 3-4 Zaheer Abbas
Information Technology Center
 
Chapter 3 - Flow of Control Part II.pdf
KirubelWondwoson1
 
UNIT 1.pptx
ShaswatSurya
 
detail of flowchart and algorithm that are used in programmingpdf
ssuserf86fba
 
Algorithm Flowchart Manual ALGORITHM FLOWCHART MANUAL For STUDENTS
Alicia Edwards
 
Algorithm manual
EfendyMasuli
 
03b loops
Manzoor ALam
 
7-White Box Testing.ppt
HirenderPal
 
Ch3 repetition
Hattori Sidek
 
Software Verification, Validation and Testing
Dr Sukhpal Singh Gill
 
Loops c++
Shivani Singh
 
Managing input and output operations & Decision making and branching and looping
letheyabala
 
C Programming Unit-2
Vikram Nandini
 
Switch case and looping
ChaAstillas
 
White Box testing by Pankaj Thakur, NITTTR Chandigarh
Pankaj Thakur
 
Csphtp1 04
HUST
 
Lecture 1
Mohammed Saleh
 
Lecture 1
Mohammed Saleh
 
Ad

More from Jordan Delacruz (20)

PPTX
Novel analysis
Jordan Delacruz
 
PPTX
Motion tween resize
Jordan Delacruz
 
PPTX
Computer motion tween
Jordan Delacruz
 
PPT
Introduction to layers
Jordan Delacruz
 
PPTX
Graphics
Jordan Delacruz
 
PPTX
(Sept.14)
Jordan Delacruz
 
PPTX
(Sept.7)
Jordan Delacruz
 
PPTX
(Sept.5)
Jordan Delacruz
 
PPTX
(Sept. 8)
Jordan Delacruz
 
PPTX
(Sept6. )
Jordan Delacruz
 
PPTX
(Sept15.)demo
Jordan Delacruz
 
PPTX
(Aug.31) introduction to macflash
Jordan Delacruz
 
PPTX
(Sept.1) environment
Jordan Delacruz
 
PPTX
Conditional statement ss2
Jordan Delacruz
 
PPTX
Conditional statement ss1
Jordan Delacruz
 
PPTX
Introduction to basic programming repetition
Jordan Delacruz
 
PPTX
Introduction to basic programming
Jordan Delacruz
 
PPTX
Algorithm and flowchart2010
Jordan Delacruz
 
PPT
Arithmetic operator
Jordan Delacruz
 
PPT
Arithmetic operator
Jordan Delacruz
 
Novel analysis
Jordan Delacruz
 
Motion tween resize
Jordan Delacruz
 
Computer motion tween
Jordan Delacruz
 
Introduction to layers
Jordan Delacruz
 
Graphics
Jordan Delacruz
 
(Sept.14)
Jordan Delacruz
 
(Sept.7)
Jordan Delacruz
 
(Sept.5)
Jordan Delacruz
 
(Sept. 8)
Jordan Delacruz
 
(Sept6. )
Jordan Delacruz
 
(Sept15.)demo
Jordan Delacruz
 
(Aug.31) introduction to macflash
Jordan Delacruz
 
(Sept.1) environment
Jordan Delacruz
 
Conditional statement ss2
Jordan Delacruz
 
Conditional statement ss1
Jordan Delacruz
 
Introduction to basic programming repetition
Jordan Delacruz
 
Introduction to basic programming
Jordan Delacruz
 
Algorithm and flowchart2010
Jordan Delacruz
 
Arithmetic operator
Jordan Delacruz
 
Arithmetic operator
Jordan Delacruz
 
Ad

Recently uploaded (20)

PPTX
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PPT
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PPTX
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Python basic programing language for automation
DanialHabibi2
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Python basic programing language for automation
DanialHabibi2
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 

Introduction to flowchart

  • 10. Connectors on the same page 1- connection on the same flowchart portion2- connection on the differentflowchart portion
  • 11. Connectors on a different page Page 2Page 1
  • 12. The detail of how the function worksis put in another flowchart. This is known as Function-DefinitionPage 1Page 2Start terminal for aFunction is different.Do not use “Start”Body of a function is the same with normal flowchartAt this point, we only focus on whatto do. How to do it, it comes later.This part is known asFunction-CallEnd terminal must be a “Return”FunctionThis flowchart calculates the average of three numbers
  • 13. The main flowcharting structuresSequenceSelectionRepetition A flowchart expressing the solution to an involved problem may have:the main program flowchart on one page with subprograms continuing the problem solution on subsequent pages.
  • 14. Each of the five acceptable structures can be built from the basic elements as shown below.
  • 15. Each of the five acceptable structures can be built from the basic elements as shown below.
  • 16. Each of the five acceptable structures can be built from the basic elements as shown below.
  • 17. SequenceIn a computer program or an algorithm, sequence involves simple steps which are to be executed one after the other. The steps are executed in the same order in which they are written.In a flowchart, sequence is expressed as:In pseudocode, sequence is expressed as:process 1process 2

process n
  • 18. SequenceAn Example Using SequenceProblem: Write a set of instructions that describe how to make a pot of tea.PseudocodeBEGINfill a kettle with waterboil the water in the kettleput the tea leaves in the potpour boiling water in the potENDFlowchart
  • 19. Selection is used in a computer program or algorithm to determine which particular step or set of steps is to be executedBinary SelectionIn pseudocode, binary selection is expressed in the following ways: IF condition THENprocess 1ENDIFIF condition THENprocess 1ELSEprocess 2ENDIFBinary SelectionIn flowcharts, binary selection is expressed in the following ways:
  • 20. SelectionBinary (structure)Binary SelectionIn pseudocode, binary selection is expressed in the following ways: IF condition THENprocess 1ENDIF IF condition THENprocess 1ELSEprocess 2ENDIFBinary SelectionIn flowcharts, binary selection is expressed in the following ways:
  • 21. SelectionBinary (flowchart structure)Note: In a flowchart it is most important to indicate which path is to be followed when the condition is true, and which path to follow when the condition is false. Without these indications the flowchart is open to more than one interpretation.Note: There are two acceptable ways to represent a decision in all of the structures.Either method is acceptable. For consistency, the method 1 is used throughout this document.The condition is expressed as a statement and the two possible outcomes are indicated byTrue
  • 22. False2. The condition is expressed as a question and the two possible outcomes are indicated by Yes
  • 23. NoSelectionBinary (examples)Selection is used in a computer program or algorithm to determine which particular step or set of steps is to be executed.Examples Using Binary SelectionProblem 1: Write a set of instructions to describe when to answer the phone. Binary SelectionFlowchartBinary SelectionPseudocodeIF the telephone is ringing THENanswer the telephoneENDIF
  • 24. SelectionBinary (examples)Examples Using Binary SelectionProblem 2: Write a set of instructions to follow when approaching a set of traffic control lights.Binary SelectionFlowchartBinary SelectionPseudocodeIF the signal is green THENproceed through the intersectionELSEstop the vehicleENDIF
  • 25. SelectionMulti-way (structure)Multi-way SelectionIn flowcharts, multi-way selection is expressed as:Multi-way SelectionIn pseudocode, multiple selection is expressed as:CASEWHERE expression evaluates tochoice a : process achoice b : process b . . . . . . OTHERWISE : default processENDCASENote: As the flowchart version of the multi-way selection indicates, only one process on each pass is executed as a result of the implementation of the multi-way selection.
  • 26. SelectionMulti-way (examples)Example Using Multi-way SelectionProblem: Write a set of instructions that describes how to:respond to all possible signals at a set of traffic control lights.Multi-way SelectionFlowchartMulti-way SelectionPseudocodeCASEWHERE signal isred : stop the vehicleamber : stop the vehiclegreen : proceed through the intersection OTHERWISE : proceed with cautionENDCASE
  • 27. RepetitionRepetition allows for a portion of an algorithm or computer programto be done any number of times dependent on some condition being met. An occurrence of repetition is usually known as a loop.An essential feature of repetition is that each loop has a termination condition to stop the repetition, or the obvious outcome is that the loop never completes execution (an infinite loop). The termination condition can be checked or testedat the beginning and is known as a pre-test loop orat the end of the loop and is known as a post-test loop.
  • 28. RepetitionPre-test(structure)Repetition: Pre-TestA pre-tested loop is so named because the condition has to be met atthe very beginning of the loop or the body of the loop is not executed. This construct is often called a guarded loop. Thebody of the loop is executed repeatedly while the termination condition is true.RepetitionIn flowchartingpre-test repetition is expressed as:RepetitionIn pseudocode, pre-test repetition is expressed as:WHILE condition is trueprocess(es)ENDWHILE
  • 29. Repetition Post-test(structure)Repetition: Post-TestA post-tested loop executes the body of the loop before testing the termination condition.
  • 30. This construct is often referred to as an unguarded loop.
  • 31. The body of the loop is repeatedly executed until the termination condition is true.An important difference between a pre-test and post-test loop is that the statements of a post-test loop are executed at least once even if the condition is originally true, whereas the body of the pre-test loop may never be executed if the termination condition is originally true. A close look at the representations of the two loop types makes this point apparent.RepetitionIn a flowchartpost-test repetition is expressed as:RepetitionIn pseudocode, post-test repetition is expressed as:REPEATprocessUNTIL condition is true
  • 32. Repetition Pre-test(example)An Example Using Pre-Test RepetitionProblem: Determine a safety procedure for travelling in a carriage on a moving train.Pre-test RepetitionFlowchartPre-test RepetitionPseudocodeWHILE the train is movingkeep wholly within the carriageENDWHILE
  • 33. Repetition Post-test(example)An Example Using Post-Test RepetitionProblem: Determine a procedure to beat egg whites until fluffy.Post-test RepetitionFlowchartPost-test RepetitionPseudocodeREPEATbeat the egg whitesUNTIL fluffy
  • 34. Input:Length <- 5Width <- 3Process:Area = 5 * 3 = 15Process:Perimeter = 2* (5+3) = 16OutputArea: 15Perimeter: 16Example:
  • 35. Input:Num <- 10Enter a Number >> 10Num = 1010 > 0 ? => YESOutput:“Category A”Example: What is the output of the following flowchart when the input Num= 10Category A
  • 36. Input:Num <- 0Enter a Number >> 0Num = 00 > 0 ? => NOOutput:“Category B”Output:“Category A”Example: What is the output of the following flowchart when the input is Num= 0Category BCategory A
  • 37. Variables (in memory):Num [ 4 ]Result [ ]Count [ ]Input:Num <- 4Enter a Number => 4Count = 44 > 0 ? => YESCount = 33 > 0 ? => YESCount = 22 > 0 ? => YESCount = 11 > 0 ? => YESCount = 00 > 0 ? => NOExample: What is the output of the following flowchart when the input is Num= 4Variables (in memory):Num [ 4 ]Result [ 0 ]Count [ 4 ]Variables (in memory):Num [ 4 ]Result [ 7 ] 4 + 3Count [ 2 ] 3 - 1Variables (in memory):Num [ 4 ]Result [ 9 ] 7 + 2Count [ 1 ] 2 - 1Variables (in memory):Num [ ]Result [ ]Count [ ]Variables (in memory):Num [ 4 ]Result [ 10] 9 + 1Count [ 0 ] 1 - 1Variables (in memory):Num [ 4 ]Result [ 4 ] 0 + 4Count [ 3 ] 4 - 1Count: 4Count: 3Count: 2Count: 1Count: 0Result: 10
  • 38. Example: What is the output of the following flowchart when the input is N = 6105averageN=6Sum = 10 + 5 + 6average = 21/3Output:Average: 7Page 1Page 2
  • 40. QuizWhat is a flowchart?It is used to connect remote flowchart portion on the same page. One flow line enters and one flow line exits.3-5. Control Structures of Flowchart.