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

1. The finally block contains code to be executed whether or not an exception is thrown in a try block.
2. A stream is an object that allows for the flow of data between your program and some I/O device or
some file.
3. Every input file and every output file used by your program has only one name which is the same
name used by the operating system.
4. The FileNotFoundException is a descendant of the class IOException.
5. When your program is finished writing to a file, it should close the stream connected to that file.


1. True
2. True
3. False
4. True
5. True

Computer Science & Information Technology

You might also like to view...

A blind write occurs when a transaction writes a database item it has not read. For example, in the Student Registration System a transaction might compute a student’s GPA by reading her course grades, computing the average, and then (blindly) writing the result in the appropriate database item without first reading that item. Some applications have the property that no transactions perform blind writes. Show that for such applications

a. Viewequivalence is equivalent to conflict equivalence. b. The timestamp-ordered concurrency control described in Section 20.9.1 never uses the Thomas Write Rule. c. In the timestamp-ordered concurrency control described in the text, for each item, x, that a transaction, T, w rites, w hen T commits, rt(x) = wt(x) = TS(T).

Computer Science & Information Technology

Before saving a ______ file, it is a good practice to save in layers in case you want to make further changes to the file.

a. merged b. flattened c. multi-layered d. TIFF

Computer Science & Information Technology

The ________ screen is the command center for Windows 8.1.1

Fill in the blank(s) with correct word

Computer Science & Information Technology

In a line chart, the category labels are displayed along the left side of the chart

Indicate whether the statement is true or false

Computer Science & Information Technology