# Flowcharts Using Visio. Definitions  An Algorithm is just a detailed sequence of simple steps that are needed to solve a problem.  A Flowchart is a.

## Presentation on theme: "Flowcharts Using Visio. Definitions  An Algorithm is just a detailed sequence of simple steps that are needed to solve a problem.  A Flowchart is a."— Presentation transcript:

Flowcharts Using Visio

Definitions  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.

Symbols Of the many Symbols available, these 7 Basic Symbols will be used most:

Example 1

Example 2

Example 3

Using Visio: start up

Drag shapes to the drawing pane Drag to place Double-click to add text Resize using bounding-box

Connect shapes with connectors Click the lower blue connection point on the shape. A red box appears around the connection point to show that the connector is “glued” to the shape. Once glued to a shape, the connector moves with the shape

the drawing grid Grid lines crisscross each drawing page like those on traditional graph paper. A grid helps you position shapes visually on a drawing page, and you can snap shapes to the grid. The grid does not print.

Working with the grid  Show or hide the grid: On the View menu, click Grid.  Set grid spacing: On the Tools menu, click Ruler & Grid.  Snapping: By default, shapes snap to both ruler subdivisions and grid lines. On the Tools menu, click Snap & Glue.  Glue:Glue is what keeps connectors attached to shapes.

Run Length Encoding Pseudocode initialize RunColor to 1 initialize RunLength to White for each pixel in the image if(pixel is the same as the RunColor) increment RunLength else write RunLength change RunColor to pixel's intensity initialize RunLength to 1 write last RunLength

Run Length Encoding Flowchart initialize RunColor to 1 initialize RunLength to White for each pixel in the image if(pixel is the same as the RunColor) increment RunLength else write RunLength change RunColor to pixel's intensity initialize RunLength to 1 write last RunLength Pseudocode

LZW compression algorithm Pseudocode set w = “” loop read a character k if wk exists in the dictionary w = wk else output the code for w add wk to the dictionary w = k endloop

LZW compression algorithm Flowchart set w = “” loop read a character k if wk exists in the dictionary w = wk else output the code for w add wk to the dictionary w = k endloop Pseudocode

Other good stuff  Group/ungroup: select multiple shapes holding the shift key down Group shapes: Selected shapes move as a unit

good stuff  Many automatic layout features  Export options under save as:.vsd.html.gif,.jpg,.png.wmf