Flowcharts
Flowcharts (also called block diagrams or logic diagrams) use symbols help you visualize the logical flow and steps of a program. Here are the most commonly used flowchart symbols:
You’ll see flowcharts for some of your programs in Small Basic books and online documentation for programming. And if you ever find that your program is getting too complicated, then it's time to start sketching out a flowchart to keep it clear in your mind what the code is doing. This also helps you get back up to speed on what your code is doing if you leave and come back later to build on or borrow your code. Of if you pass on your program for someone else to work on.
Let's look at an example:
The diagram on the right is called a flowchart because it shows the flow of command through a program. The diamond-shaped block is a decision block (see the definition in the table above). It has two arrows that represent the two paths that a program can take (in this case, Yes or No). To follow this flowchart, start at the top and trace through the arrows.
Head to https://blogs.msdn.com/SmallBasic to download it and learn all about Small Basic!
Small and Basically yours,
- Ninja Ed & Majed Marji
Comments
Anonymous
June 07, 2015
I added some more content to give an example of a flowchart. Thanks for reading!Anonymous
January 31, 2016
Computers Today (part 1 of 6) blogs.msdn.com/.../computers-today.aspx ..... CS SPOTLIGHT: Girls in computer programming... why it matters!!! blogs.msdn.com/.../cs-spotlight-girls-in-computer-programming-why-it-matters.aspx ... Computational Thinking - Videos & Papers by Jeannette Wing blogs.msdn.com/.../computational-thinking-videos-amp-papers-by-jeannette-wing.aspx