Hello and welcome to the fierce example in the practical section and this floor charting course the
first example will discuss student marks flowchart example.
It's a program that's required to read your mark and to decide without your boss the exam or not pass
mark is 60.
So this is our condition.
This is a simple example.
We are starting with simple examples so that we can let you know how to do this.
Step by step manner then we are going to move to more complex examples.
So what should we do to solve this program or solve this issue or to draw the flowchart
the first step will be creating a new flowchart
create a new diagram then click on create to solve this problem.
We do the following.
First we must read the input data so into the data.
Second we need to make a comparison of the entire or of the in the mark that the use of the into finally
we must plan that isn't so let's start doing this.
I already mentioned that we are going to use a symbol for start and stop.
It's a rectangle bar tab round edges.
So as you can see this can work for us.
We need to add to the first one will be the top and the second one will be at the bottom.
Let's zoom in inside that we are going to light start indicating that the program's starting
and here we are going to write.
END.
Now let's go back here now the second step will be reading the input Mark.
We can do this by simply read the import Mark.
So in order to read we are going to use this symbol here.
And let's write read and bookmark now after reading the input Mark we need to compare it and to check
if it is above 60 or not.
If he has the user will pass.
If not you will fail.
So let's playing the decision making symbol from the flowchart thing area.
This is it.
OK.
Now mark above 60 this will have two options.
As you can see either yes or no so it is no we want to write the world bars in a variable let's call
it result.
So let's drag an item which is a rectangle.
Whereas is it qu.
Let's take it from here.
This is the rectangle the first rectangle and this is the second rectangle
the first one is here.
Second one's here we can reduce the size of that rectangle.
No no.
That connect this item with this
we can do this and we can do this.
Now if yes
result will equal pass if no result will equal fail.
Now we cannot dictate to you 16 to here if yes here if no.
So if Mark is above 60 the result will equal pass if no result will equal fail.
Now in both scenarios we are going to plan the results so both of these and all of us would print the
result.
We are going to use the input output on the right to print the result.
Now what we can do next is simply
draw the arrows the flow lines
no as you can see this will go to fail.
The after printing the result.
We are going to end the program while it is boss.
We are going to do the same which is printing the result.
As you can see now if yes the result will be pass.
If no will be fail now that's it.
This is our
flowchart start.
We will take them off.
Check if it is above 60.
If yes the IS will be pass no.
The result will be fail.
Then we are going to print the result and then we use the same shapes that we mentioned in the previous
lesson which is commonly used chips in a floor charting.
This shape is for start and stop the task.
This is for taking input and displaying output.
The rectangle is for processing.
We are pressing the value of pass and storing it in the result variable.
This is for decision making.
This.
These are the floor lines.
So this is it.
We can change the coloring.
As you can see here to make sure that each element has its own coloring.
If you are making a very large flowchart coloring will be helpful because it will show you exactly what
are the inputs.
So let's say that we are adding all of these in green.
We are going to know from the color that these are input output blocks and these are processing blocks
from the color of their color.
So carding will be very helpful in tracking our design.
You can't change the baobab size to be F4 if you want to print it as you can see.
This is therefore size.
This is our print size.
This is our first flowchart.
Now let's save it file save as and let's save it and our course folder.
Let's see.
In here and let's call it student
Mark check.
Now again if you want to save it and GBC you can export it as easy image
export to the same for a lot.
Let me show you does it really emerge.
This is it.
This is our flow chart.
You can choose to export it and be the f or other formats as well.
That's it for the first example and floor charting.
Next we are going to make another example which is more practical example on the more or a bit complex
example.
We are taking it a step by step.
If you have any question regarding this flowchart please ask and that you aren't able.
I'm more than happy to help.
Thanks for watching this lesson.
See you next.
This is Coding Academy.