# Flow Charts

PUBLISHED Sep 15th, 2015

That’s how the logic of computer can be drawn using Flow Charts !

Welcome to Newbie Programmer Series, we ended Operators topic with a huge boredom, anyways, it’s finally ended and here I start our new topic, Controlling Flow. We will learn how to control the flow of our programs based on the conditions and cases. Yes, loops are a part of it but I did it separately to teach you the basics. This topic is going to be very interesting, because now we can learn to implement programs over real life problems. If you are new to this series, please go to the index(click here) and read out all the previous parts so that you can easily understand what is going on below.

I welcome you on my site. I am writing this post. I am doing certain tasks, what I want to. Computers too, do the tasks we want them to do. And for that, we do programming. But sometimes, the issues are complex and we have to divide our tasks with step wise Algorithms. Thinking such complex processes in head and programming them directly is a hard thing to do. So therefore, we use Flow Charts To make our tasks easy to understand.

Flow Charts are simply the Graphical representation of the logical steps we use from problem to the solution. They are used to simplify and make the steps easy to understand. It’s the programming in the graphical way. They will make our understanding of Controlling the Flow of the program more clear.

So lets discuss some of them. In the picture below, I have given some most basic shapes of flow charts.  There are a lot of them but I think these four are enough for us. Click on the picture below to expand it.

Now what do we have :

1. Ellipse : Its like the checkpoints. Through here the program starts and ends.
2. Arrow : They simply represent the flow of the steps. We have to follow the arrows.
3. Rectangle : Here we do some process. Here a some function or task is to be done,
4. Rhombus : Here we decide the further flow based on the conditions. Like do A if Yes and do B if No etc.

Lets do some basic Examples. I have put a lot of images below, Just click them.

1. Hello World

2. Even Number Test, it contains a Loop. Repeat until you enter an even number.

3. When you make food, you need to trouble shoot in the Shop.

I am just doing simple things. You can make as many complex algorithms you want. Search on google “great flow charts” you will find great examples of it.

I have tough you the simple basic flowcharts so that from now, while playing with “what to program” the flowcharts will keep us on the flow.

That’s it for today. In the next part, we will discuss the if else statements that can help us to control the flow using logic.

Any doubts ? Meet me at twitter @ramdeoshubham

Please share this post as much as you can so that we can get connected to more geeks who wants to learn programming but have no clue. Thanks for reading :) (c)Shubham Ramdeo, All rights reserved.

#### You might also like:

(prev)
(next)

(rand) Miscellaneous Operators and Operator Precedence
(rand) Some Practical Applications of Control Flow
(rand) Why you might not need email optins

© Shubham Ramdeo, 2020
you are really awesome!