Diagrams and Tables Flashcards
Flowcharts & Decision Tables, UML diagrams
What are the 4 rules of flowcharts?
A flowchart must start with one terminator symbol and end with
one terminator symbol.
The data symbol must have one entry point and one exit point.
The decision symbol must have one entry point but may have more than one exit point.
The flow lines should not cross one another
When are decision tables used?
Decision tables are used to analyse situations where the conditions and
actions are more complex
They can be also be used to define outputs dependent on inputs, and
are hence useful for program testing
What is a parallelogram in a flowchart?
Represents either receiving input data from outside the algorithm using the INPUT command or producing output from within the algorithm using the OUTPUT command
What is a diamond in a flowchart?
Represents a step involving a question
The outgoing arrows represent the possible outcomes to the question and are usually labelled “Yes” and “No”
Only one of these outgoing arrows should be followed when performing the algorithm
What is a rectangle in a flowchart?
Represents a step involving an action or operation
Usually involves changing the value of a variable or performing
more complex actions
What is a rectangle with rounded corners in a flowchart?
Represents the beginning or end of a set of steps, and usually contains either the START or STOP command