Algorithm, Flowchart and Program
V E S R N TECHNOLOGIES
Prev Lesson Next Lesson > Introduction to C Language
Program: In programming language some commands are input and the result after some process is called output. All these together are called a program.
A group of instructions is called a Program.
What we have to note here is that a program is a set of instructions. Be it a computer program or an event in our real life. For example, your father asked you to go to the market and buy vegetables and bring them home. This is the program that your father handed over to you.
Now let's see how you can complete the program.
1) Father will give you money.
2) You leave home by cycle or bike or auto.
3) Go to the market and buy vegetables and return home safely.
4) You will give it to your father.
5)The program given to you is complete
All of the above may actually happen, or some may happen, or some more may happen. Either you or your father prepare a plan for all this. This is called an algorithm.
"Step by step procedure to solve a problem is called an Algorithm".
Now tell me. 1) What happens if you work without an algorithm?
2) Change the steps in the algorithm and see.
Sometimes the algorithm is large. When you share it with your friends, they won't be patient enough to listen to you. If these are shown in short form and figures then anyone can easily understand them. These figures are called flowcharts.
"A pictorial representaton of an algorithm is called Flowchart". If we write a flow chart for the algorithm given above All the students should carefully observe the flow chart given below. What does a computer program look like? How to write? This is completely understandable Feel free to share your valuable feedback with us. 9703508488. Prev Lesson Next Lesson