Problem definition:
“It is an action to identify the problem, to understand the problem, and to
understand any Constraints that may be the limits of the solution.”
In this all the factors like – input/output, memory requirement, processing
requirement, error handling etc. are discussed.
Processes (problem solving steps):
A computer cannot solve a problem by itself. The computer has to provide
a step-by-step solution to the problem. In fact, it is not the job of the
computer to solve the problem.
It is the programmer who has to write the solution to the problem in terms
of simple operations that the computer can understand and operate.
Problem Solving Steps:-
To solve a problem through computer one has to go through certain steps. Such
as follows,
1. Understanding the Problem:
Here we try to understand to solve the problem completely. Before taking
the next step, you must be absolutely sure of the motives of a problem.
2. Problem Analysis:
Once we fully understand how to solve the problem, we look for different
ways to solve the problem and evaluate each of these methods. The idea
here is to find the right solution to the problem in question.
The end result of this step is a detailed review of the sequence of actions taken
to solve a problem.
3. Developing Solutions:
Here an overview of the sequence of operations resulting from the analysis
phase is extended to a step-by-step solution to the problem in question.
4. Coding and Implementation:
The final step in problem solving is to translate the detailed sequence of
operations into a language that the computer can understand. Here each
step is converted into its equivalent instruction or instruction in the
computer language which has been selected for implantation.