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
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