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

1. Streams may be passed to a function.
2. You may use a read (extraction) as a boolean expression in an if or while statement.
3. Using directives can be placed either directly after the include directives, or at the beginning of each function definition.
4. '\n' is two characters.
5. Data that is sent to an output stream representing a file will be immediately saved to disk.


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

Computer Science & Information Technology

You might also like to view...

A(n) ________ protects a computer against power surges

Fill in the blank(s) with correct word

Computer Science & Information Technology

The ________ function looks for a value within a range and returns the position of that value

Fill in the blank(s) with correct word

Computer Science & Information Technology

The following is an example of the ________ data type. ProductNum,ProductName,DateShipped,Quantity Shipped 59313,XL Golf Shirts,3/15/13,35 72316,Men's Shoe,2/5/13,10 47423,Head covers,3/6/13,20

A) tab delimited B) space delimited C) comma separated D) font delimited

Computer Science & Information Technology

What is the performance value of the array-based implementations of sets and dictionaries?

A. O(n2) B. O(n) C. On D. O(1)

Computer Science & Information Technology