Algorithms (Ch1) (M2) Flashcards
What is a flowchart used for?
A flow chart is a method of representing the sequences of steps in an algorithm, in the form of a diagram.
What can flowcharts show?
Flowcharts can show sequences, selections, iterations, or a combination of them.
What does the oval shape in a flowchart represent?
An oval shape is the terminator (start/stop)
What does the rectangle shape in a flowchart represent?
A rectangle shape represents a process
What does the diamond shape in a flowchart represent?
A diamond shape represents a decision (selection)
What does the parallelogram shape in a flowchart represent?
A parallelogram represents an input or output
What does the rectangle with two small sections on the side in a flowchart represent?
The rectangle with two small sections on the side represents a sub process
What does an arrow show in a flowchart?
An arrow shows the sequence of events in a flowchart