Lasalle Demo
-
Upload
denise-soller -
Category
Documents
-
view
224 -
download
0
Transcript of Lasalle Demo
8/6/2019 Lasalle Demo
http://slidepdf.com/reader/full/lasalle-demo 1/19
Flowcharting EssentialsFlowcharting EssentialsA Guide to the Fundamentals of Data andA Guide to the Fundamentals of Data and
Process DiagramsProcess Diagrams
8/6/2019 Lasalle Demo
http://slidepdf.com/reader/full/lasalle-demo 2/19
What is a Flowchart?
A diagram that depicts the
flow of a program.
Flowcharts are used in
designing and documentingcomplex processes.
8/6/2019 Lasalle Demo
http://slidepdf.com/reader/full/lasalle-demo 3/19
Basic Flowchart Symbols
Notice there are three types of symbols in this flowchart:
rounded rectangles
parallelograms
a rectangle
Each symbol represents adifferent type of operation.
START
Display message
³How many hours did
you work?´
Read Hours
Display message ³How
much do you get paid
per hour?´
Read Pay Rate
Display Gross Pay
END
Rounded
Rectangle
Parallelogram
Rectanglewith Lines
Rounded
Rectangle
Multiply Hours by Pay
Rate. Store result inGross Pay.
(C)opyright 2003 Scott/Jones Publishers
8/6/2019 Lasalle Demo
http://slidepdf.com/reader/full/lasalle-demo 4/19
Basic Flowchart Symbols
Terminals represented by rounded rectangles
indicate a starting or ending point
(C)opyright 2003 Scott/Jones Publishers
Terminal
Terminal
START
Display message
³How many hours did
you work?´
Read Hours
Display message ³How
much do you get paid
per hour?´
Read Pay Rate
Display Gross Pay
END
Multiply Hours by Pay
Rate. Store result inGross Pay.
8/6/2019 Lasalle Demo
http://slidepdf.com/reader/full/lasalle-demo 5/19
Basic Flowchart Symbols
Input/Output Operations represented by parallelograms
indicate an input or output
operation Input/Output
Operations
START
Display message
³How many hours did
you work?´
Read Hours
Display message ³How
much do you get paid
per hour?´
Read Pay Rate
Display Gross Pay
END
Multiply Hours by Pay
Rate. Store result inGross Pay.
(C)opyright 2003 Scott/Jones Publishers
8/6/2019 Lasalle Demo
http://slidepdf.com/reader/full/lasalle-demo 6/19
Basic Flowchart Symbols
Processes represented by rectangles
indicates a process such as amathematical computation or
variable assignment
(C)opyright 2003 Scott/JonesPublishers
Process
START
Display message
³How many hours did
you work?´
Read Hours
Display message ³How
much do you get paid
per hour?´
Read Pay Rate
Display Gross Pay
END
Multiply Hours by Pay
Rate. Store result inGross Pay.
8/6/2019 Lasalle Demo
http://slidepdf.com/reader/full/lasalle-demo 7/19
Basic Flowchart Symbols
A rectanglerepresents an activityto be completed.
A diamond representsa decision to be
made.
A terminator shape or a circle represents thebeginning or end of aprocess.
This shape representssomething that isdocumented.
A rectangle with linesrepresents a pre-
defined process
An arrow indicates the
process flow.
ACTION
DECISION
START/END
DOCUMENT
PROCESS
ARROW
8/6/2019 Lasalle Demo
http://slidepdf.com/reader/full/lasalle-demo 8/19
Four Flowchart Structures
Sequence
Decision
Repetition Case
8/6/2019 Lasalle Demo
http://slidepdf.com/reader/full/lasalle-demo 9/19
A series of actions are performed in sequence
Sequence Structure
8/6/2019 Lasalle Demo
http://slidepdf.com/reader/full/lasalle-demo 10/19
One of two possible actions is taken, depending on acondition.
Decision Structure
8/6/2019 Lasalle Demo
http://slidepdf.com/reader/full/lasalle-demo 11/19
Decision Structure
A new symbol, the diamond, indicates a yes/no question. If the answer to the question is yes, the flow follows one path.If the answer is no, the flow follows another path
YESNO
8/6/2019 Lasalle Demo
http://slidepdf.com/reader/full/lasalle-demo 12/19
Repetition Structure
A repetition structure represents part of the program thatrepeats. This type of structure is commonly known as a loop.
8/6/2019 Lasalle Demo
http://slidepdf.com/reader/full/lasalle-demo 13/19
Case Structure
One of several possible actions is taken, dependingon the contents of a variable.
8/6/2019 Lasalle Demo
http://slidepdf.com/reader/full/lasalle-demo 14/19
Case Structure
The structure below indicates actions to performdepending on the value in years_employed.
CASE
years_employed
1 2 3 Other
bonus =100
bonus =200
bonus =400
bonus =800
8/6/2019 Lasalle Demo
http://slidepdf.com/reader/full/lasalle-demo 15/19
Sometimes a flowchart will not fit on onepage.
A connector (represented by a small circle)
allows you to connect two flowchartsegments.
Connectors
A
8/6/2019 Lasalle Demo
http://slidepdf.com/reader/full/lasalle-demo 16/19
Connectors
The A connectorindicates that the secondflowchart segment beginswhere the first segmentends.
A
A
8/6/2019 Lasalle Demo
http://slidepdf.com/reader/full/lasalle-demo 17/19
Combining Structures
Structures are commonly combined to create morecomplex algorithms.
The flowchart segment below combines a decisionstructure with a sequence structure.
YES
8/6/2019 Lasalle Demo
http://slidepdf.com/reader/full/lasalle-demo 18/19
This flowchart segmentshows two decisionstructures combined.
Combining Structures
NO YES
8/6/2019 Lasalle Demo
http://slidepdf.com/reader/full/lasalle-demo 19/19
Flowcharting
Steps to Get Started:1. First identify the purpose of the
process.
2. Then identify the people or
groups involved in the process.
3. Work through the steps in theprocess flow. Move them aroundas necessary to reflect the
process.4. Once you have all the steps identified and appropriately
oriented on the chart pad, add the arrows to indicate thework flow.