Sunday, July 15, 2012

Flowchart

1. What is a flowchart?
A flowchart is a diagrammatic representation that illustrates the sequence of operations to be performed to get the solution of a problem.

2. Describe the basic flowchart symbols for;
  •  Start or end of the program - rectangle with curved edges
  • Computational steps or processing function of a program - rectangle
  • Input or output operation - parallelogram
  • Decision making and branching - diamond
  • Flow line - arrow
3. With the decision making symbol (diamond) and the process symbol (rectangle), what are the rules for how many lines may enter and leave the symbol.
Only one flow line should enter a decision symbol. Two or three flow lines should leave the decision symbol. Only one flow line should come out of the process symbol.

4. Study the sample flowcharts then create a flowchart for a coin toss where heads means Mary pays for the pizza and Tales means Bill pays.

No comments:

Post a Comment