Hello Everyone!!!
While solving any problem, it is very important to understand the problem. So, it is necessary to break down the problem into small aspects.
While solving any problem, it is very important to understand the problem. So, it is necessary to break down the problem into small aspects.
Intro
In this post, you will be able to understand the problem with the use of Algorithm and Flowchart by breaking down the problem into various steps.
Algorithm
It is a set of all detailed instructions of the given problem statement. It is necessary to get the outline of the given problem statement. It is step by step process to solve the problem logically.
Flowchart
It is generally the graphical representation of the algorithm. It is more effective than the algorithm. In the flowchart, inputs/outputs are represented by parallelogram, start/end represented by an ellipse, process represented by a rectangle. These elements are connected through the arrows i.e. flow of problem.
How To Do?
It is necessary to break down the problem into small pieces. Follow the steps given below.
- Get a problem statement
- Think about starting & end i.e. inputs & required output
- Write the algorithm with detailed steps
- Draw flowchart using the algorithm
- Start coding with respect to the flowchart
To Sum It All?
Start practicing using the above 5 steps. After getting expertise in these steps, you can just draw the flowchart directly.
I hope these 5 steps will help you while solving any problem.
Comments
Post a Comment