2. Compare and contrast between flowcharts that involve:
• simple logic flow and
• simple logic flow with a two way branch.
Answers
Answer:
here your answer.......
Answer:
Use a Logic Flowchart to:
· represent the logic of a process which involves intermingling the evaluation of conditions with the execution of several actions,
· uncover loopholes in logic which could cause problems,
· compare what is actually happening in a process or logic with what should be happening to uncover problems.
Method
LOGIC FLOWCHART SYMBOLS
The following symbols are used on a Logic Flowchart:
· Flow of Control — A symbol used to indicate the control direction or movement between other symbols.
· Termination — A symbol used to indicate the start and finish of the flowchart.
· Process Box — A symbol used to illustrate the occurrence of any process or action.
· Decision Diamond — A symbol used to distinguish between two states of affairs and as a consequence direct the flow of control one way or another. There are only two possible exits to a decision diamond, YES or TRUE and NO or FALSE.
Rules for Constructing a Logic Flowchart
Advantages and Disadvantages of Logic Flowcharts
CONVENTIONAL FLOWCHART SYMBOLS
The following conventional flowchart symbols are from the IBM flowchart template:
· Communication Link — Represents data transfer into or out of the scope of the system.
· Data Preparation — Represents a written input medium.
· Decision — Represents some logical decision point that controls processing flow.
· Disk Storage — Represents some magnetic media device that exists for read/write purposes.
· Display — Represents a Cathode Ray Terminal/Liquid Crystal Display (CRT/LCD) output medium.
· Document — Represents some paper-based output.
· Extract — Represents a logical database (or flatfile) data retrieval operation that results in a set of buffered data.
· Input/Output — Represents data flow direction during I/O operations.
· Keying — Represents a keyboard data entry activity.
· Magnetic Tape — Represents some magnetic tape data storage media.
· Manual Operation — Represents an action the user must perform.
· Merge — Represents the merging of two data sets.
· Off-page connector — A symbol that connects a diagram component on the current page to a diagram symbol on another page.
· Office Storage — Represents paper files.
· On-page connector — A symbol that connects a diagram component to another diagram component on the same page.
· Pre-defined Process — Represents a unit of logic that has already been coded and more than likely resides in a code library.
· Process — Represents some set of logic that has defined inputs and outputs.
· Sort — Represents a logical sort routine that is applied to some output data set.
Explanation: