Answer and Explanation:
1. The steps in writing an algorithm include:
Step 1: obtain description of problem
Step 2: Analyze the problem. ...
Step 3: Develop a high-level algorithm.
Step 4: Refine the algorithm by adding more detail. ...
Step 5: Review the algorithm
In describing our problem we aim to define our problem and know exactly what problem we are looking to solve. We analyze and breakdown this problem to know where it begins and ends and therefore be able to understand it and develop algorithm to solve it. A high level algorithm is developed to fInd the main part of the problem and leave the details for later . We refine our algorithm and give more detail to further algorithm. We go ahead to review our algorithm to be sure it would solve the problem and ask questions like does it solve the problem and how much? Can the algorithm be simplified?
2. Computers are machines and therefore only understand instructions in the form of code languages. Coding must be precise because there is particular syntax and semantics in computer coding languages which if not followed cannot be understood by the computer
3. When a problem is repetitive and tedious at same time, it should be coded into computer programs and therefore automated