Input - IBM 5110 User Manual

Apl
Table of Contents

Advertisement

Input
After the output, you should consider what input data is required to
generate the output. To do this, consider such questions as:
1.
What input is required?
2.
Where does the input come from?
3.
How is the input provided?
Continuing with the compound interest example, the answers to these
questions are:
1.
The interest rate, number of years, and principal.
2~
From finance officers who need to know the amount of interest
earned for different plans.
3.
Through the 5110 keyboard.
In our example, most of the input data will come from the keyboard;
however, other ways also exist. For example, some data might be
permanent and be included within the user-defined function (for
example, headings and labels). There might also be data that is usually
constant but, for certain problems, must be changed. This data might
be coded in the user-defined functions as variables that can be
modified. And, of course, data might also be from tape or diskette.
The following list summarizes the input and output considerations so
far:
Input
Output
Data
I nterest rate
Number of years
Principal
THE INTEREST EARNED IS:
The calculated interest earned
Device
Keyboard
Display Screen
Information Processing
7

Advertisement

Table of Contents
loading

Table of Contents