Computer Problem Solving using C GCW M.A Road
Computer problem solving is an intricate/complicated process requiring much thought, careful planning, logical precision, persistence and attention to detail. Problem solving is the act of finding a solution to a perplexing, distressing, vexing, or unsettled question. Program and Algorithms unambiguous instructions expressed in a programming language. programming language. An algorithm therefore corresponds to a solution to a problem that is independent of any programming language. gorithm consists of a set of explicit and unambiguous finite steps which, when carried out for a given set of initial conditions, produce the corresponding output and terminate in a finite time. To obtain computer solution to a problem we supply the program with input or data. produces an output which represents the computer solution to the problem. THEPROBLEMSOLVING ASPECT -solving is a creative process which largely defies systematization and mechanization.
problem-solving. r different people. Problem definition phase effort to come to terms with or understand the problem at hand. fully understand what it is we are trying to solve. phase. In other words, what we must do during this phase is work out what must be done rather than how to do it. we must try to extract from the problem statement (which is often quite imprecise and maybe even ambiguous) a set of precisely defined tasks. A skill that it is important to try to develop in problem-solving is the ability to view a problem from a variety of angles. out, sideways, backwards, forwards and so on. Once one has developed this skill it should be possible to get started on any problem. ComputerProblem-Solving (Using computer as a problem solving tool)
Figure 6.2 The computer problemsolving process Figure 6.3: The Interactions between Problem-Solving Phases Problem-Solving Phase solution) into a programming language. the results. If you find errors, analyze the program and the algorithm to determine the source of the errors, and then make corrections.