Chapter 21 Questions
True or False
1. External storage exists after program execution.
2. Generally there is less external storage than internal memory.
3. Without direct access files, it would be impossible to support the data-management operations
efficiently in an external environment.
4. A file of integer records will have less records per block than a file of student records.
5. According to the text, you can read and write a block of records, but you cannot read or write an
individual record.
6. To need to operate on only a single record of the file, there is no need to access an entire block
from the file.
7. Some programming languages have commands that make it appear that you are accessing one
record at a time, not a whole block.
8. Even if records are stored in a sorted file, it is still not possible to use a binary search algorithm to
retrieve a specified record.
9. An index to a data file is conceptually similar to an index to an array.
10. In general an index record is larger than a data record.
11. It is possible (and can be useful) to keep multiple index files on a single data file.
12. Use of an index file increases the number of required block accesses of the data file, especially
for adds and removals.
13. When external hashing is used, you hash the index file instead of the data file.
14. It is not possible to organize an index file as an external 2-3 tree.