Posts

Explain Algorithm and Flowchart with Examples

Image
ALGORITHM An algorithm is the brain of programming. Algorithms help the programmer to find a solution to a problem. An algorithm is a list of instructions to reach a target or objective. We are doing different tasks daily basis. Each task has a sequence of steps to complete the job or solve a problem. Can you think of a day in your life which goes without problem-solving? The answer to this question is of course, No. In our life, we are bound to solve problems. In our day-to-day activities such as purchasing something from a general store and making payments, depositing fee in school, or withdrawing money from a bank account. All these activities involve some kind of problem-solving. It can be said that whatever activity a human being or machine does for achieving a specified objective comes under problem-solving. To make it clearer, let us see some other examples. Example1: If you are watching a news channel on your TV and you want to change it to a sports channel, you need to ...