Java Reference
In-Depth Information
3 Analyzing Requirements
Review the requirements document in Figure 1-25 and then answer the
questions on the next page.
REQUEST FOR NEW APPLICATION
Date submitted: September 26, 2007
Submitted by: Ray Lykins
Purpose: Cattle ranchers rely on feed grains to feed their cattle, along with hay
and grazing land. The ranchers use more feed during the winter and
less during spring, summer, and fall, unless there is a drought. A field
agent helps ranchers calculate the amount of feed they will need. The
distribution manager takes the order over the phone and calculates the
cost and the shipping.
Application title: Cattle Feed Calculator (CFC)
Algorithms:
Dietary needs: Each cow consumes 3% of body weight per day in feed
(for example, 1,200 lb. cow x 0.03 = 36 lbs. of feed per day).
Truck capacity : 2.5 Tons
Current market price for dry ration matter: $150 per ton.
Notes:
1) The application should allow users to enter values for the number
of cows, the number of days — a calculation based on the commonly
used Animal Unit Month (AUM) — and the current market price.
2) The application should also allow the user to reset all values on the
screen to zero (0) so that another calculation can be performed.
3) In the near future, we would like to allow the field agents to access
the calculator remotely via the Web.
4) The application should include the company logo in the interface.
The application window should be sizable so that the user can get a
better view of the data.
5) A common dry ration uses a mixture of the following:
grains
grain by-products
protein-rich meals
hays
straws/stubble
6) The user should be able to exit the application at any time.
Approvals
Approved
Approval status:
X
Rejected
Approved by:
Isaac King
Date:
October 18, 2007
Assigned to:
J. Starks, Programmer
FIGURE 1-25
(continued)
Search WWH ::




Custom Search