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

1. To write to a binary file, you can use the write() member function of an of stream object.
2. The ios::hardfail bit is set when an unrecoverable error occurs.
3. When a recursive function directly calls itself, this is known as direct recursion.
4. Indirect recursion means that a function calls itself several times.
5. A recursive function cannot call a function other than itself.


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

Computer Science & Information Technology

You might also like to view...

________ detection involves the collection of data relating to the behavior of legitimate users over a period of time. Statistical tests are applied to observed behavior to determine with a high level of confidence whether that behavior is not legitimate user behavior. ?

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

What is a common reason to edit this Registry key: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run?

A. To change the Windows boot options B. To reset a password C. To change the Windows Product Key D. To delete autostarting programs

Computer Science & Information Technology

A _____ is any business-related exchange such as payments to employees, sales to customers, or payments to suppliers.

a. transaction b. forecast c. feedback d. process

Computer Science & Information Technology

Which of the following is not permanent storage devices?

a. floppy disk b. hard disk c. flash stick d. CD-ROM e. main memory

Computer Science & Information Technology