Problem
1.The following exceptions occur during input or output with files. Describe the cause of each.
a. NAME_ERROR
b. MODE_ERROR
c. END_ERROR
2. A NAME_ERROR exception can be raised with improper use of the Create procedure. True or false?
3. Every file should be closed before a program terminates.
a. What does the Close procedure do?
b. What could happen if you forget to close a file before your program terminates?