Give a comprehensive enumeration of reasons why records may not necessarily be stored contiguously in a sequential disk file.
What will be an ideal response?
As a disk is used over a period of time, it tends to become fragmented. When a
sequential file is created, the file management system normally attempts to place the file data
in contiguous locations. But because of the fragmentation, it is forced to spread the file
throughout possible noncontiguous free areas (extents) on the disk. Even if there is no fragmentation,
the architecture of the disk would still force the file data to be distributed over
adjacent tracks within the same cylinder, and then over adjacent cylinders.Another problem
is that as the file is being created, the system may notice bad tracks; the system provides alternate
tracks (possibly widely separated on the disk).
You might also like to view...
A member of a structure or of a class is accessed using the
a. Comma operator b. The dot operator c. The indexing operator d. The ampersand operator
The ________ command divides a window into multiple resizable panes
Fill in the blank(s) with correct word
Compare PPP with SLIP.
What will be an ideal response?
In a doubly linked structure, the first and last item have an empty link.
Answer the following statement true (T) or false (F)