Algorithm and Flowcharts Menu
- Flowchart Intro & Method of Problem Solving
- 5 Steps using computer as tool and Algorithm
- Basic and Additional Symbols
- Examples of:
- Simple Sequential
- Selection/Branching structures
- Repetition/Looping structures
- Combination of structures
- Back to
the Engineering 161 menu
Flowchart Introduction & Method of Problem Solving
- Lecture written by Prof. Martha Selby
- Authored for presentation by Mark Sobek
- Revised by John Even
- Written for HTML by Matt Robinson
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
- 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
Definition of Algorithm and
- 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
Of the many Symbols available, these 6 Basic
Symbols will be used most:
Question,Decision (Use in
Connector (connect one part of
the flowchart to another)
Comments, Explanations, Definitions.
2 Additional Symbols
Related to more advanced
Preparation (may be used with "do
loops" explained later)
Refers to separate flowchart
("Subprograms"(explained later) are shown in separate flowcharts).
Given the radius and height for a cylinder find the volume
and surface area.
Combination of Structures
Back to Engineering 161 menu