Monday, July 16, 2012

Flowcharts


  1. What is a flowchart?
A flowchart is a means of visually presenting the flow of data through an information processing system.
2. Describe the basic flowchart symbols for;
  •  Start or end of the program a rectangle with curves on the corner
  • Computational steps or processing function of a programa rectangle with curves on its edges
  • Input or output operation a rectangular box
  • Decision making and branching a rectangular box
  • Flow line a diamond 

  1. 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.
  2. In a rectangle one line must enter and one must leave. Whereas in a diamond one enters and two come out.
  3. 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.


The sum is a variable and so is N in the example

No comments:

Post a Comment