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

1) Each line of a text file is terminated by the string "ofstream."
2) A file name can be different from the name of the ofstream or ifstream object used for access.
3) Keyboard input is viewed by C++ as a text input stream.
4) C++ associates system stream cout with the keyboard and cin with the screen.
5) All operating systems recognize the character sequence as the end-of-file mark.


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

Computer Science & Information Technology

You might also like to view...

REST-based web services differ from SOAP-based web services in that ________.

a) REST operations must be accessed through a web service proxy object b) REST services are less verbose than SOAP-based services c) the request and response of REST services are not wrapped in envelopes and are not necessarily in XML format d) None of the above.

Computer Science & Information Technology

Often you see a(n) ____ next to a required field with a corresponding note at either the top or the bottom of the form explaining that all fields marked as such are required.

A. caret B. colon C. semicolon D. asterisk

Computer Science & Information Technology

E-mail software is a(n) ________ program that works in concert with a(n) ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

Double-clicking on the ListBox control registers which default event?

A. SelectedIndexChanged B. Click event   C. DoubleClick D. ItemChanged

Computer Science & Information Technology