Monday, July 30, 2012

Flowchart Symbols And Logic

What is a flowchart?
A flowchart is a diagram of the sequence of operations in a computer program in addition to an accounting system.
Flowchart symbols:
  • Start and End symbols are represented as lozenges, ovals or rounded rectangles.
  • Flow lines signify flow passing from one arrow to another. Only one flow line is used in conjunction with terminal symbol. In other words, it denotes the direction or logic flow in a program.
  • Input or output operation denotes either an input operation (e.g. INPUT) or an output operation.
  • Computational steps or processing function of a program denotes a process to be carried (e.g. an addition).
  • Decision making and branching denotes a decision (or branch) to be made. The program should continue along one of two routes (e.g. IF/THEN/ELSE).
How many lines may enter and leave the symbol in the case of the
decision making symbol and the process symbol?
Only one line should enter or leave the process symbol
Only one line should enter a decision symbol, but two or three flow lines,
one for each possible answer should leave the decision symbol.
Flowchart for a coin toss where heads means Mary pays for the pizza and tales means Bill pays.



No comments:

Post a Comment