Java Reference
In-Depth Information
3 Analyzing Requirements (continued)
1. List at least three relevant requirements necessary to design a complete
program that are missing from the requirements document. Use these new
requirements when completing the remaining tasks.
2. List the inputs and outputs necessary to solve the problem.
3. Draw a storyboard for a program that would meet the program
requirements.
4. Design three sets of test data and step the test data through the algorithm
listed in the requirements in order to test the expected output of the
problem.
4 Understanding Flowcharts
Figure 1-26 shows a flowchart that represents part of a cardiovascular disease
risk assessment. The higher the point total, the greater the risk of cardiovascular
disease. In the spaces provided, write the point total for the following persons
using the logic in the flowchart. For additional information about flowcharting,
see Appendix A.
1.
A 40-year-old smoker with normal blood pressure who eats a low-fat diet.
_______________________________________________________________________
2.
A 20-year-old nonsmoker with normal blood pressure who eats a high-fat
diet.
_______________________________________________________________________
3.
A 27-year-old smoker with high blood pressure who eats a high-fat diet.
_______________________________________________________________________
4.
A 16-year-old nonsmoker with normal blood pressure who eats a high-fat
diet.
_______________________________________________________________________
5.
A 63-year-old nonsmoker with high blood pressure who eats a low-fat diet.
_______________________________________________________________________
6.
A 50-year-old nonsmoker with high blood pressure who eats a high-fat diet.
_______________________________________________________________________
Search WWH ::




Custom Search