Answer the following statements true (T) or false (F)

1) A stream is a flow of data into or out of your program.
2) A stream is a flow of data into or out of your program.
3) An output stream is a stream of data flowing from your program, to a file, a device of some sort such as the screen.
4) cin is an output stream object of type ostream.
5) cout has type ostream, i.e., is an output object.

1) T
2) F
3) T
4) F
5) T

Computer Science & Information Technology

You might also like to view...

Which of the following values is the recommended maximum percentage of disk space you should use for best reliability?

A. 50 B. 20 C. 95 D. 80

Computer Science & Information Technology

What would the output from the following be:

``` boolean continue = true ; int count = 0 ; int max = 2 0 ; while ( continue ) { System . out . println ( count ) ; count++; max++; i f ( count > 10 && max > 40) continue = fal se ; } ```

Computer Science & Information Technology