Algorithm and Flowcharts Menu

  1. Credits

  2. Flowchart Intro & Method of Problem Solving

  3. 5 Steps using computer as tool and Algorithm Definition

  4. Basic and Additional Symbols

  5. Examples of:
  6. Back to the Engineering 161 menu

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

  1. Recognize and understand the problem.

  2. Accumulate facts.

  3. Select appropriate theory.

  4. Make necessary assumptions.

  5. Solve the problem.

  6. Verify results.

Preforming step 5 (Solve the problem) may involve a computer.

The 5 steps in using a computer as a problem-solving tool

  1. Develop an Algorithm and a Flowchart.

  2. Write the program in a computer language. (i.e. Fortran, C)

  3. Enter the program into the computer.

  4. Test and debug the program.

  5. Run the program, input data, and get the results from the computer.

Definition of Algorithm and Flowchart

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