Algorithm and Flowcharts Menu
- Credits
- Flowchart Intro & Method of Problem Solving
- 5 Steps using computer as tool and Algorithm
Definition
- Basic and Additional Symbols
- Examples of:
- Simple Sequential
- Selection/Branching structures
- Repetition/Looping structures
- Combination of structures
- Back to
the Engineering 161 menu

- Lecture written by Prof. Martha Selby
- Authored for presentation by Mark Sobek
- Revised by John Even
- Written for HTML by Matt Robinson
Flowchart Introduction & Method of Problem Solving
Remember a computer is only a problem-solving
tool! (one of the many different tools engineers
use in solving problems)

Method of Problem Solving
- Recognize and understand the problem.
- Accumulate facts.
- Select appropriate theory.
- Make necessary assumptions.
- Solve the problem.
- Verify results.
Preforming step 5 (Solve the problem) may involve a computer.

The 5 steps in using a computer as a problem-solving
tool
- Develop an Algorithm and a Flowchart.
- Write the program in a computer language. (i.e. Fortran, C)
- Enter the program into the computer.
- Test and debug the program.
- Run the program, input data, and get the results from the
computer.

Definition of Algorithm and
Flowchart
- An Algorithm is just a detailed
sequence of simple steps that are needed to
solve a problem.
- A Flowchart is a graphical representation of an
algorithm.

Basic Symbols
Of the many Symbols available, these 6 Basic
Symbols will be used most:
Start/Stop
Question,Decision (Use in
Branching)
Input/Output
Connector (connect one part of
the flowchart to another)
Process, Instruction
Comments, Explanations, Definitions.

2 Additional Symbols
Related to more advanced
programming
Preparation (may be used with "do
loops" explained later)
Refers to separate flowchart
("Subprograms"(explained later) are shown in separate flowcharts).

Flowchart examples
Sequential structure

Given the radius and height for a cylinder find the volume
and surface area.

Selection/Branching Structure


Repetition/Looping Structure


Combination of Structures


Back to Engineering 161 menu