Answer the following questions true (T) or false (F)
1. An input stream is a stream of data flowing from your program, either to a file, or to the keyboard.
2. An output stream is a stream of data flowing from your program, to a file, a device of some sort such as the screen.
1. False
Explanation: From the viewpoint of the program, data that enters a program is an input stream. An input stream flows from some place outside the program, either a file, some device such as the keyboard, the mouse, or a scanner, into your program.
2. True
Explanation: From the viewpoint of the program, data that leaves is an output stream. An output stream flows from your program to somewhere outside the program, either to a file, or to some device such as the screen.
You might also like to view...
The OR logical function displays FALSE if one condition is false and the other condition is true
Indicate whether the statement is true or false.
Write the code for an auto-implemented property named TaxableIncome. The property's data type is Decimal. Then list the two hidden items it creates.
What will be an ideal response?