Java Reference
In-Depth Information
Program Development
The program development cycle for the Body Mass Index Calculator program
consists of tasks that correspond to the six development cycle phases, as shown
in Table 3-1.
Table 3-1 Body Mass Index Calculator Program Development Tasks
DEVELOPMENT PHASE
TASK(S)
1
Analyze the requirements
Analyze the Body Mass Index Calculator
problem.
2
Design the solution
Design the user interface for both console
applications and the applet, including output
data and placement of the applet graphic.
Design the logic to solve the problem.
3
Validate the design
Confirm with the user that the design solves
the problem in a satisfactory manner.
4
Implement the design
Translate the design into code. Include internal
documentation (comments and remarks) within
the code that explains the purpose of the code
statements. Create the HTML file to host the
applet.
5
Test the solution
Test the program. Find and correct any errors
(debug) until it is error-free.
6
Document the solution
Print copies of the application code, applet
code, applet interface, and HTML code.
Analysis and Design
Figure 3-2 shows the requirements document that initiates the development
cycle for the Body Mass Index Calculator program. The requirements document
specifies the reason for the request, lists the required inputs and outputs, and
shows the algorithm used to compute the BMI based on a person's height and
weight.
 
Search WWH ::




Custom Search