Sie sind auf Seite 1von 12

Flowchart

Flowcharting is a tool developed in the


computer industry, for showing the steps
involved in a process.
A flowchart is a diagram made up of boxes,
diamonds and other shapes, connected by
arrows - each shape represents a step in the
process, and the arrows show the order in
which they occur.
Flowcharting combines symbols and flow-
lines, to show figuratively the operation of an
algorithm.
A Flowchart
shows logic of an algorithm
emphasizes individual steps and their interconnections
e.g. control flow from one action to the next
(Dictionary) A schematic representation of a sequence of
operations, as in a manufacturing process or computer
program.
(Technical) A graphical representation of the sequence of
operations in an information system or program. Information
system flowcharts show how data flows from source
documents through the computer to final distribution to
users. Program flowcharts show the sequence of instructions
in a single program or subroutine. Different symbols are used
to draw each type of flowchart.
Flowcharting Symbols
There are 6 basic symbols commonly used in
flowcharting of assembly language programs:
i. Terminal
ii. Process
iii. Input / Output
iv. Decision
v. Connector
vi. Predefined Process
(Although, this is not a complete list of all the possible
flowcharting symbols; it is the ones used most often in
the structure of Assembly Language Programming.)
General Rules for flowcharting
All boxes of the flowchart are connected with Arrows.
(Not lines)
Flowchart symbols have an entry point on the top of
the symbol with no other entry points. The exit point
for all flowchart symbols is on the bottom except for
the Decision symbol.
The Decision symbol has two exit points; these can be
on the sides or the bottom and one side.
Generally a flowchart will flow from top to bottom.
However, an upward flow can be shown as long as it
does not exceed 3 symbols.
Connectors are used to connect breaks in the flowchart.
Examples are:
a) From one page to another page.
b) From the bottom of the page to the top of the same
page.
c) An upward flow of more than 3 symbols
Subroutines and Interrupt programs have their own and
independent flowcharts.
All flow charts start with a Terminal or Predefined Process
(for interrupt programs or subroutines) symbol.
All flowcharts end with a terminal or a contentious loop.
Design flowchart for adding the test scores as
given below:
26, 49, 98, 87, 62, 75
The problem with above flowchart is that,
some of the steps appear more than
once, i.e. step 5 get second number, step 7,
get third number, etc. The shortened
flowchart would be as follows: (Read number
until user inputs -1)

Das könnte Ihnen auch gefallen