Flowcharting

Basics:

  • This is used in computer programming.
  • There are a lot of programmes that all utilise this method of programming meant to be used by students:
    • Flowol.
    • Logicator.
    • Yenka.

Advantages:

  • Simple to use and learn.
  • Graphical – symbols are thus easy to identify.
    • It is easy to identify inputs, processes and outputs.
  • Easy to use them to communicate and share ideas.
  • Quick to use.
  • Can be converted to BASIC.

Disadvantages:

  • Hard to edit.
  • The commands are very broad and limited.
  • Very complex flowcharts can get incredibly confusing.
  • Must be converted into BASIC before computers can recognise it.

The Symbols:

Terminal Block:

  • These blocks start and end a flowchart.
    • Only flowcharts that are not looped have an end.
  • These blocks include:
    • ‘Start’
    • ‘Stop’
    • ‘Subroutine x’
      • x in this case represents the number of a subroutine.
    • ‘Return’

Terminal Block

Process Block:

  • These blocks represent processes that must be completed before the flowchart can be allowed to move on:
    • Examples include:
      • ‘Add 1 to x’
      • ‘Save changes’
      • ‘Replace identified part’

 Process Block

Input & Output Block:

  • These blocks represent inputs or outputs:
    • Examples include:
      • ‘Output: 1 (ON), 2(OFF)’
      • ‘Get x from the user’
      • ‘Display x’

Input-Output Block

 Subroutine:

  • A type of process block.
  • Used to show complex processes that are detailed in another flow chart.
    • It means to begin subroutine x here.
    • All subroutines terminate with a ‘return’

Subroutine Block

Decision:

  • These generally represent YES/NO questions:
    • If the answer is NO then the decision block usually directs the flowchart back to some earlier stage until the condition is fulfilled.
    • If the answer is YES then the decision block allows the flowchart to continue on.
  • Examples:
    • ‘Is x=3?’
    • ‘Have changes been saved?’
    • ‘Is there light?’
    • ‘Is it dark?’

Decision Block

This entry was posted in Design and Technology. Bookmark the permalink.