Professional Documents
Culture Documents
Flow Chart
Flow Chart
@
@
@
@
@
@
@
@
@
@
|
|
@ !
@"
@
u
| |
|$ "
% "
&
' |"
&
' &(
' )
&(
*
u
*
*
"
' )
*
u
'
@
% ,,,
+,
+/
,
" -/
,,,.
' -
.
|
@ 0
/
&
|
|
@ ,
+
@
#
@
+
@ %
@ %
@
+
@"%
2 @"3
m
@"-/
4.%
"
"%
Flowcharts are usually drawn using some standard
symbols; Some standard symbols, which are frequently
required for flowcharting many computer programs are
shown below
(
&
indicates the beginning and
end points of an algorithm.
#(
&
shows an instruction other than
input, output or selection.
(
&
shows an input or an output
operation.
5 6$(
&
indicates input from or output to
disk storage.
#
(
&
shows hardcopy printer
output.
O
O
provides continuation of a
logical path on another page.
$
provides continuation
of logical path at another point in the same
page.
@"
indicate the logical sequence of
execution steps in the algorithm.
O
O
@"-/
4.%
|
@"
(
&%
m
)
&1
use it to represent an event which occurs automatically.
)
&1
use it to represent an event which is controlled within
the process. Typically this will be a step or action which
is taken.
use it to represent a decision point in the process.
/
use it to represent a point at which the flowchart
connects with another process.
|7| |*+$@8+
@$2/9|) +%
m
/
% Flowcharts are better way of
communicating the logic of a system
*
( % roblem can be analyzed in more
effective way.
#
% Flowcharts serve as a good
program documentation
*
/
% Flowcharts act as a guide or blueprint
during the systems analysis and program development
phase.
|7| |*+$@8+
@$2/9|) +-/
4.%
m
#&
% Flowchart helps in debugging
process.
*
#
:
% The maintenance of
operating program becomes easy with the help of
flowchart.
'
2
2
2
@"-*1
.%
Flowchart to find the sum of first 50 natural numbers.
@"/
"
&%
+
)|;
=
|<;
#
;
#
|
*
@"
&|;
/%
OOTATO S F USO
F ARTS:
m
O
m
O
m
O
#:
m O
m
m
O
!!
O
m
m
etailed Algorithm
Step 1:
Onput 1,2,3,4
Step 2:
RAE j (1+2+3+4)/4
Step 3:
if (RAE < 50) then
Orint FAO
else
Orint OASS
endif
!
1
Omprove readabililty
of the code by
incorporating
functions.
3
rite code to
implement the
top
down design.
$
O #
ational Oarcel Service
Oarcel *
Size
ength
idth
Shipping Status
eight
Acceptable
epth
ot Acceptable
harge
eight harge
t<=20
20<t<=40
t>40
Volume harge
Vol<=18
Vol>18
0.75
!O #
m
m
m
Oarcel elivery
(adjust to one package)
Oarcel
Size
ength
idth
Shipping Status
eight
Acceptable
epth
ot Acceptable
harge
eight harge
t<=20
20<t<=40
t>40
Volume harge
Vol<=18
Vol>18
0.75
Adapt the structure chart
to accommodate the
program specifications:
A $#$2 *+
Oarcel elivery
Size
ength
eight
idth
epth
ot Acceptable
Acceptable
ompute harge
ompute
eight harge
t<=20
20<t<=40
t>40
t_chrg=
t*0.08
t_chrg=
t*0.1
t_chrg=
t*0.15
utput harge
ompute
Volume harge
Vol<=18
Vol_chrg=
0.0
Vol>18
Vol_chrg=
1.0
utput Rejection
essage
ompute
Total harge
harge=
t_hrg+
Vol_hrg+
0.75