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

1. A C-string can be assigned to a variable whose type is the string class.
2. When you assign a name to a file, the operating system identifies the file by that name.
3. The stream member function fail() can be used to determine whether the last operation performed on a stream was successful.
4. When you store data in a variable, it is automatically saved in a file.
5. Only one file stream object can be declared per C++ program.


1. TRUE
2. TRUE
3. TRUE
4. FALSE
5. FALSE

Computer Science & Information Technology

You might also like to view...

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

1) A program is more efficient if it uses more CPU time 2) One of the ways to express the size of a problem is in terms of the number of items to be processed. 3) If the growth function for an algorithm is expressed as a polynomial, then the asymptotic complexity of the algorithm is determined by the term with the smallest exponent of the variable. 4) The asymptotic complexity of an algorithm is also called the order of the algorithm. 5) All of the terms in a growth function contribute to the order of the function

Computer Science & Information Technology

When a program throws an exception, you always have to deal with it.

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

Computer Science & Information Technology

To append data to a table, the table must already be created and it must be closed

Indicate whether the statement is true or false

Computer Science & Information Technology

A developer already created a database for the small business you work for. Your supervisor likes the way that the database performs, but needs some changes made to the reports that are part of the database. Describe how to change a sales report that contains the names and order amounts of your customers so that any order over $25,000.00, in the Orders column, appears bold.

What will be an ideal response?

Computer Science & Information Technology