Java Reference
In-Depth Information
To be a skillful problem solver, and, therefore, to become a skillful programmer, you must
use good problem-solving techniques. One common problem-solving technique includes
analyzing a problem, outlining the problem requirements, and designing steps, called an
algorithm, to solve the problem.
Algorithm: A step-by-step problem-solving process in which a solution is arrived at in a
finite amount of time.
In the programming environment, the problem-solving process involves the following steps:
1. Analyze the problem and outline the problem and its solution requirements.
2. Design an algorithm to solve the problem.
3. Implement the algorithm in a programming language, such as Java.
4. Verify that the algorithm works.
5. Maintain the program by using and improving it, and modifying it if the
problem domain changes.
Figure 1-4 summarizes this programming process.
Problem
Analysis
Algorithm
Design
Coding
Compiler
Error
No Error
Library
Bytecode
Loader
Interpreter
Error
No Error
Results
FIGURE 1-4 Problem analysis-coding-execution cycle
 
Search WWH ::




Custom Search