Using Flowcharts for Algorithmssites.millersville.edu/jwright/4 Flowcharting 467.pdf · Using...
Transcript of Using Flowcharts for Algorithmssites.millersville.edu/jwright/4 Flowcharting 467.pdf · Using...
![Page 1: Using Flowcharts for Algorithmssites.millersville.edu/jwright/4 Flowcharting 467.pdf · Using Flowcharts for Algorithms John R. Wright, Jr., PhD, CSTM, CLSSGB, F.ATMAE ITEC 467, Mobile](https://reader033.fdocuments.us/reader033/viewer/2022052320/5f0af06a7e708231d42e156e/html5/thumbnails/1.jpg)
UsingFlowchartsforAlgorithmsJohn R. Wright, Jr., PhD, CSTM, CLSSGB, F.ATMAEITEC 467, Mobile RoboticsMillersville University
![Page 2: Using Flowcharts for Algorithmssites.millersville.edu/jwright/4 Flowcharting 467.pdf · Using Flowcharts for Algorithms John R. Wright, Jr., PhD, CSTM, CLSSGB, F.ATMAE ITEC 467, Mobile](https://reader033.fdocuments.us/reader033/viewer/2022052320/5f0af06a7e708231d42e156e/html5/thumbnails/2.jpg)
Algorithms,Pseudocode&Code
• An Algorithm is your plan/idea (how to solve a problem)• May be expressed in many different ways
• Mathematical Expression• Pseudo Code (written text)
• Pseudocode is the written expression of the Algorithm• It is simply a description on how your program should work in plain
English or another language• Code – this is what you program (Syntax) to enact your algorithms• Other notes:
• Some people are great at code• Some are great at developing algorithms• Innovation really comes great algorithms!• Optimization comes from great code!
![Page 3: Using Flowcharts for Algorithmssites.millersville.edu/jwright/4 Flowcharting 467.pdf · Using Flowcharts for Algorithms John R. Wright, Jr., PhD, CSTM, CLSSGB, F.ATMAE ITEC 467, Mobile](https://reader033.fdocuments.us/reader033/viewer/2022052320/5f0af06a7e708231d42e156e/html5/thumbnails/3.jpg)
Flowcharting• Flowcharts allow one to see a pictorial representation of the
process. • They make it easier to understand the process at hand!• MS Visio is a great tool for developing flowcharts as you can
easily drag and drop the symbols.
![Page 4: Using Flowcharts for Algorithmssites.millersville.edu/jwright/4 Flowcharting 467.pdf · Using Flowcharts for Algorithms John R. Wright, Jr., PhD, CSTM, CLSSGB, F.ATMAE ITEC 467, Mobile](https://reader033.fdocuments.us/reader033/viewer/2022052320/5f0af06a7e708231d42e156e/html5/thumbnails/4.jpg)
FlowchartSymbols
http://www.gridgit.com/postpic/2011/12/meaning-flowchart-symbols-shape_8566.png
![Page 5: Using Flowcharts for Algorithmssites.millersville.edu/jwright/4 Flowcharting 467.pdf · Using Flowcharts for Algorithms John R. Wright, Jr., PhD, CSTM, CLSSGB, F.ATMAE ITEC 467, Mobile](https://reader033.fdocuments.us/reader033/viewer/2022052320/5f0af06a7e708231d42e156e/html5/thumbnails/5.jpg)
VisioBasicFlowchartShapes
![Page 6: Using Flowcharts for Algorithmssites.millersville.edu/jwright/4 Flowcharting 467.pdf · Using Flowcharts for Algorithms John R. Wright, Jr., PhD, CSTM, CLSSGB, F.ATMAE ITEC 467, Mobile](https://reader033.fdocuments.us/reader033/viewer/2022052320/5f0af06a7e708231d42e156e/html5/thumbnails/6.jpg)
MS Visio Basic Flowchart Example
http://www.sawyoo.com/postpic/2015/03/visio-flowchart-shapes_206705.png
![Page 7: Using Flowcharts for Algorithmssites.millersville.edu/jwright/4 Flowcharting 467.pdf · Using Flowcharts for Algorithms John R. Wright, Jr., PhD, CSTM, CLSSGB, F.ATMAE ITEC 467, Mobile](https://reader033.fdocuments.us/reader033/viewer/2022052320/5f0af06a7e708231d42e156e/html5/thumbnails/7.jpg)
Smartdraw Flowchart Example
![Page 8: Using Flowcharts for Algorithmssites.millersville.edu/jwright/4 Flowcharting 467.pdf · Using Flowcharts for Algorithms John R. Wright, Jr., PhD, CSTM, CLSSGB, F.ATMAE ITEC 467, Mobile](https://reader033.fdocuments.us/reader033/viewer/2022052320/5f0af06a7e708231d42e156e/html5/thumbnails/8.jpg)
Microsoft Word Process Flowchart Template Example
http://www.mywordtemplates.org/wp-content/uploads/2015/01/Process-Flow-Chart-Template.png
![Page 9: Using Flowcharts for Algorithmssites.millersville.edu/jwright/4 Flowcharting 467.pdf · Using Flowcharts for Algorithms John R. Wright, Jr., PhD, CSTM, CLSSGB, F.ATMAE ITEC 467, Mobile](https://reader033.fdocuments.us/reader033/viewer/2022052320/5f0af06a7e708231d42e156e/html5/thumbnails/9.jpg)
FlowchartingResources• MS Visio 2016 Tutorial
• https://www.youtube.com/watch?v=b09dKHvu4-4
![Page 10: Using Flowcharts for Algorithmssites.millersville.edu/jwright/4 Flowcharting 467.pdf · Using Flowcharts for Algorithms John R. Wright, Jr., PhD, CSTM, CLSSGB, F.ATMAE ITEC 467, Mobile](https://reader033.fdocuments.us/reader033/viewer/2022052320/5f0af06a7e708231d42e156e/html5/thumbnails/10.jpg)
CommonErrors• Arrows / Flow issues• Missing• Direction• Decision Symbols
• Incorrect Symbol usage• Documentation vs Process
• Think of documentation as a special type of process that has a special symbol
• Decision • Label them• Cleaner to use one line per joint
• Subprocess vs Process• Subprocess symbols will require another flowchart
• Continuation References• On or off page symbols
![Page 11: Using Flowcharts for Algorithmssites.millersville.edu/jwright/4 Flowcharting 467.pdf · Using Flowcharts for Algorithms John R. Wright, Jr., PhD, CSTM, CLSSGB, F.ATMAE ITEC 467, Mobile](https://reader033.fdocuments.us/reader033/viewer/2022052320/5f0af06a7e708231d42e156e/html5/thumbnails/11.jpg)
Oh,WhatisaFlowchart?• https://www.youtube.com/watch?v=2rZY8iX8Mdw