ITM 301 Lecture Notes - Lecture 4: The Algorithm, Computer Program, List Of Fables Characters
Document Summary
How to solve a problem: understand the problem. 2, devise a plan: carry out the plan, examine the solution obtained. According to polya"s list, you should eventually obtain a plan of solution: In computing this plan is called an algorithm. Algorithm a set of instructions for solving a problem or sub problem in a finite amount of time using a finite amount of data (unambiguous instructions) Includes four phases: the analysis phase: Output= written problem statement: the algorithm development phase. Output= a plan for a general solution to the problem specified in the first phase: the implementation phase. Output= computer program that implements an algorithm: the maintenance phase. No output in in the fourth phase, unless errors are detected or changes need to be made. If so these errors are sent back either to the first, second, or third phase.