1. computer keyboard
2. computer mouse
3. printing a document
4. printf()
5. computer disk
6. scanf()
7. "read" operation
8. "write" operation
9. computer monitor
10. main memory
11. control string
12. & operator
13. initializing variables
14. data into memory
15. data from memory
1. computer keyboard
INPUT -- the keyboard gets data from the user
2. computer mouse
INPUT -- mouse clicks provide input from the user
3. printing a document
OUTPUT -- writes data to paper
4. printf()
OUTPUT -- prints contents of variables to console window
5. computer disk
BOTH -- a disk can provide data to the computer (loading a program)
and can also be used to write data (saving a new version of a document)
6. scanf()
INPUT -- scans in data from the console window
7. "read" operation
INPUT -- reads a value and stores it in memory
8. "write" operation
OUTPUT -- writes a value from memory to some sort of output device
9. computer monitor
OUTPUT -- displays output such as text, pictures, tables
10. main memory
BOTH -- memory is involved in both input and output
11. control string
BOTH -- a control string is necessary for printf() and scanf()
12. & operator
INPUT -- & is used with the input function scanf()
13. initializing variables
INPUT -- one can initialize variables using the input function scanf()
14. data into memory
INPUT -- when data is input, it gets stored in memory
15. data from memory
OUTPUT -- when writing data to an output device, the data must come
from memory