Flowcharts
A flowchart is a drawing that shows the steps in an algorithm.
Flowchart: A flowchart uses specific symbols to show action, loops and decisions. This might be a good choice if you are creating a game or a story that depends on user input.
A flowchart is a drawing that shows the steps in an algorithm. The order of the steps can be seen by following the arrows. Programs can have branches and loops and the flowchart makes it easier to see the sequence of the algorithm. Different shapes are used to represent each type of action.
Terminal: The oval is used to indicate the beginning and end points of a flowchart.
Input and Output: The parallelogram is used to represent both input and output.
Assignment: A rectangle is used for assignment statements, or calculations.
Decision: The diamond is used for decisions. A Boolean condition (an expression that will evaluate to either true or false) is shown inside the diamond. There will always be 2 lines out of the diamond: one marked T (true) and one marked F (false). Evaluate the Boolean expression to determine which line to follow.
Procedures and Functions: A procedure is a group of statements that can be grouped together logically to perform a task such as walking, waving or moving next to another object.
A procedure is represented by a rectangle with a bar on each side. Each procedure within a program will have its own flowchart. The flowchart for the example is not complete.