Diagrams and Tables Flashcards

Flowcharts & Decision Tables, UML diagrams

1
Q

What are the 4 rules of flowcharts?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

When are decision tables used?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a parallelogram in a flowchart?

A

Represents either receiving input data from outside the algorithm using the INPUT command or producing output from within the algorithm using the OUTPUT command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a diamond in a flowchart?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a rectangle in a flowchart?

A

Represents a step involving an action or operation

Usually involves changing the value of a variable or performing
more complex actions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a rectangle with rounded corners in a flowchart?

A

Represents the beginning or end of a set of steps, and usually contains either the START or STOP command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly