File System Implementation
- 115Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
115 questions
- 1The operating-system component that hides hardware differences and provides a consistent interface to storage devices is the_____.
Hint
Think of the software layer that handles communication with particular hardware.
Answer
device driver
- 2Applications work with files through the_____rather than addressing physical disk locations directly.
Hint
This is the user-facing view of files and directories.
Answer
logical file system
- 3The file-system layer responsible for arranging files on the storage device is the_____.
Hint
It connects the logical view of files to their organization on storage.
Answer
file organization module
- 4A file is transferred from storage into_____so that it can be processed.
Hint
This is the working area where a computer can operate on data.
Answer
memory
- 5The data structure that stores a file's name, state, and other identifying information is the_____.
Hint
It keeps track of information associated with an individual file.
Answer
file control block
- 6Separating applications from hardware with layers makes the system easier to change, but the extra layers add_____.
Hint
Each layer adds work to a request as it passes through the system.
Answer
overhead
- 7The operating system can support different storage devices through the same logical interface because device-specific details are handled by_____.
Hint
These components adapt the operating system to particular hardware.
Answer
device drivers
- 8To connect a logical filename to where its data is physically stored, the system maps it to_____.
Hint
These are numbered units of storage on a device.
Answer
blocks
- 9Because disks are slower than memory, systems use_____to hold data temporarily and speed up access.
Hint
These temporary storage areas can reduce repeated trips to a slow device.
Answer
buffers and caches
- 10Keeping data that may be needed again in memory is an example of using a_____.
Hint
It stores likely-to-be-reused data for faster access.
Answer
cache
- 11Reading a likely next block while the current block is being fetched is called_____.
Hint
The system anticipates what data may be needed next.
Answer
read ahead
- 12The operating system may store information such as a file's name, last modified state, and retrieval status as_____.
Hint
This describes information about a file rather than its actual contents.
Answer
metadata
- 13On a magnetic disk, the circular paths on a platter are called_____.
Hint
They run around the disk surface.
Answer
tracks
- 14The divisions of a track used to organize data on a rotating disk are called_____.
Hint
They divide tracks into smaller portions.
Answer
sectors
- 15A unit formed from the intersection of a track and a sector is a_____.
Hint
This is a numbered unit that the system can retrieve from the disk.
Answer
block
- 16A hard disk's platters rotate while its read-write heads move across them to access data stored in_____.
Hint
These are the numbered storage units on the disk.
Answer
blocks
- 17The effect that helps keep a hard disk's read-write head slightly above the platter is called the_____.
Hint
It is associated with the airflow produced by the rotating disk.
Answer
Bernoulli effect
- 18Shaking a machine with a mechanical hard disk can be dangerous because the read-write head may_____the platter.
Hint
Normally the head should remain just above the disk surface.
Answer
hit
- 19The set of tracks at the same position across multiple platters is referred to as a_____.
Hint
This term groups corresponding tracks on a multi-platter disk.
Answer
cylinder
- 20In a fixed-size block system, a small file may waste space because it occupies a block larger than its contents; this is_____.
Hint
The unused space is inside an allocated block.
Answer
internal fragmentation
- 21Using smaller blocks can reduce wasted space for small files, but it requires tracking_____blocks.
Hint
Smaller units mean that a file may be represented by a greater number of units.
Answer
more
- 22The size of a disk's blocks affects both wasted storage space and the amount of_____the file system must manage.
Hint
Consider the work required to keep track of where every block belongs.
Answer
bookkeeping
- 23A file control block can store links to related indexes or tables when a file system needs to manage_____information.
Hint
The file control block may hold more than basic file details.
Answer
additional
- 24The information needed to describe a volume, including its logical layout, must be recorded so the system can manage files and_____.
Hint
These organize files into named locations.
Answer
directories
- 25The record used to identify a bootable device and begin starting the operating system is the_____.
Hint
The startup process transfers control to this structure on the boot device.
Answer
boot control block
- 26Connecting a file system to the operating system's directory structure is called_____.
Hint
The system makes the file system available at a particular location.
Answer
mounting
- 27The location in the directory structure where a mounted file system becomes accessible is its_____.
Hint
It is the place where users can reach the mounted storage.
Answer
mount point
- 28A file system's in-memory structures allow the operating system to manage mounted devices and support operations such as_____and close.
Hint
This operation begins access to a file.
Answer
open
- 29A file system may be connected automatically during startup or connected only when needed; this latter approach is_____.
Hint
It is used for devices such as removable drives that are not always attached.
Answer
ad hoc mounting
- 30An operating system may ask to check a removable drive after it was used with another operating system because the drive may contain different_____.
Hint
The drive stores organizational information in addition to file contents.
Answer
metadata
- 31If a system does not understand the format used on a drive, it may be unable to access the drive's_____.
Hint
This is the method used to organize and manage the drive's files.
Answer
file system
- 32Damage to directory structures or file control blocks can make files difficult to locate because these structures contain_____.
Hint
It includes information that maps files to their stored locations.
Answer
metadata
- 33A directory organized as a simple list may be slow to search because finding an entry can require checking entries one by one; this is a_____.
Hint
Its entries are examined in sequence.
Answer
linear list
- 34A directory can use structures such as a linked list or a_____to make data access faster.
Hint
This is a tree-based organization used to speed up searching.
Answer
B tree
- 35A directory hash table uses a mathematical function to convert input data into a_____used to locate an entry.
Hint
The output helps identify where the data can be found.
Answer
hash number
- 36When different inputs produce the same hash value, the hash table has a_____that must be handled.
Hint
Two items have landed on the same hash result.
Answer
collision
- 37If a file is stored in one consecutive run of disk blocks, it uses_____allocation.
Hint
The file's blocks sit next to one another on the disk.
Answer
contiguous
- 38Contiguous allocation makes it straightforward to retrieve a file because the system can read a known run of_____.
Hint
The file occupies a continuous sequence of these storage units.
Answer
blocks
- 39A limitation of contiguous allocation is that free space can become split into separate gaps, producing_____.
Hint
The total free space may be sufficient even though no single gap is large enough.
Answer
fragmentation
- 40When a contiguous file grows but there is not enough adjacent space, the system may have to move the_____elsewhere on disk.
Hint
The file may not fit in its original run of blocks.
Answer
whole file
- 41Rearranging files to reduce fragmentation and create larger free regions is called_____.
Hint
It reorganizes files on a disk to make storage more continuous.
Answer
defragmentation
- 42In extent-based allocation, a file can grow by receiving another group of consecutive blocks called an_____.
Hint
A file can consist of one or more of these groups.
Answer
extent
- 43Compared with a file made from individually linked blocks, an extent allows the system to retrieve a consecutive group of blocks with fewer_____.
Hint
The disk head does not need to travel to a separate location for every block in the group.
Answer
disk movements
- 44In linked allocation, each file block contains a pointer to the_____block in the file.
Hint
The pointer continues the sequence of blocks.
Answer
next
- 45The special pointer value that indicates the end of a linked file is called a_____pointer.
Hint
It does not point to another block.
Answer
null
- 46Linked allocation can use space flexibly because it allocates only the blocks a file_____.
Hint
Unlike a fixed-size reservation, the allocation can grow with the file.
Answer
needs
- 47A weakness of linked allocation is that a corrupted pointer can prevent access to the_____of the file.
Hint
The chain may be broken partway through.
Answer
rest
- 48A file allocation table stores the links between file blocks in a central_____rather than inside each block.
Hint
The links are kept together in an organized structure.
Answer
table
- 49Keeping the file allocation table in memory can speed up access because the system can consult the block links without repeatedly reading them from_____.
Hint
The table describes how files are laid out on the storage device.
Answer
disk
- 50A disadvantage of relying on a single file allocation table is that it becomes a_____of failure.
Hint
If this one structure is damaged, many files may become inaccessible.
Answer
single point
- 51In indexed allocation, a file's starting block points to an_____that lists the file's data blocks.
Hint
It contains references to the blocks that make up the file.
Answer
index block
- 52An index block supports access to a file's blocks through a shared list of block locations, rather than following a_____from block to block.
Hint
This is the sequence used in linked allocation.
Answer
linked chain
- 53When one index block cannot list all of a file's blocks, an index can point to another index; this is_____indexing.
Hint
The arrangement uses two levels of index.
Answer
double
- 54A file system that combines direct blocks with single, double, and triple indirect blocks uses_____allocation.
Hint
It supports multiple levels of references to data blocks.
Answer
multilevel indexed
- 55In the described Unix UFS example, each block is_____in size.
Hint
The example uses a block size of four kilobytes.
Answer
4K
- 56In that UFS example, the number of bits used for a block address limits the maximum addressable storage capacity of the_____.
Hint
The address width determines how many blocks can be identified on it.
Answer
device
- 57A file system may use direct blocks for frequently accessed files so that they can be reached_____.
Hint
Direct references avoid an extra index lookup.
Answer
quickly
- 58Different storage media may use different file systems because their access patterns and workloads are_____.
Hint
A DVD, USB drive, and main disk do not necessarily have the same requirements.
Answer
different
- 59A bitmap records the allocation state of each disk block using one_____per block.
Hint
The structure represents each block with a binary value.
Answer
bit
- 60In the bitmap example, a bit value represents whether a block is_____or used.
Hint
The bitmap distinguishes available storage from allocated storage.
Answer
free
- 61For a disk with 240 bytes and blocks of 212 bytes, the number of blocks is 228, requiring a bitmap of about_____megabytes.
Hint
The bitmap needs one bit for each of the 228 blocks.
Answer
256
- 62A linked free-space list stores pointers from each unused block to the_____unused block.
Hint
It organizes free blocks as a chain.
Answer
next
- 63When a block is allocated from the head of a free-space list, the next free block becomes the new_____.
Hint
This is the first position in the list.
Answer
head
- 64A linked free-space list can use less space than a bitmap because it records the_____blocks rather than one status bit for every block.
Hint
Only available blocks need to be linked.
Answer
unused
- 65A free-space list can be made more efficient by allocating a group of_____blocks at a time.
Hint
The blocks in the group are adjacent on the disk.
Answer
contiguous
- 66A system may track the number of free blocks in addition to their locations using a_____.
Hint
It summarizes free storage for a file system.
Answer
space map
- 67A large storage system may manage free space differently from a small computer because its scale and workload are_____.
Hint
The same management method may not suit both sizes of system.
Answer
different
- 68The overall goal of choosing a free-space management method is to achieve good performance for the system's_____.
Hint
Different systems use their storage in different ways.
Answer
workload
- 69For a magnetic disk, the time needed for the head to move to the correct track is the_____.
Hint
It measures the head's movement across the disk.
Answer
seek time
- 70The time spent waiting for a rotating disk to bring the desired sector under the head is_____.
Hint
It depends on the disk's rotation.
Answer
rotational latency
- 71The rate at which data is transferred from a storage device is its_____.
Hint
It describes how quickly data moves between the device and the computer.
Answer
transfer rate
- 72The time spent by a disk controller processing a storage request is called_____.
Hint
It is added to the time spent seeking, waiting for rotation, and transferring data.
Answer
controller overhead
- 73The time to move the head to the right track and wait for the desired sector is part of the disk's_____.
Hint
It combines positioning time and rotational waiting.
Answer
access latency
- 74After locating data on a disk, the system must also account for the time required to transfer it into_____.
Hint
This is where the computer can work on the retrieved data.
Answer
memory
- 75Increasing a magnetic disk's rotational speed generally reduces its_____.
Hint
The desired sector comes around more often when the disk spins faster.
Answer
rotational latency
- 76Unlike a magnetic disk, an SSD has no moving read-write head, so it does not have mechanical_____time.
Hint
This disk delay normally comes from moving the head to a track.
Answer
seek
- 77An SSD's memory cells have a limited number of read-write cycles, so_____software spreads use across the cells.
Hint
It helps prevent the same cells from being used up too quickly.
Answer
leveling
- 78Compared with a magnetic disk, an SSD is generally faster and more expensive, while offering_____capacity for a given cost.
Hint
The content describes a trade-off between speed, price, and storage amount.
Answer
lower
- 79Magnetic tape remains useful for storing large amounts of data at low cost, even though it is_____.
Hint
Its low cost and large capacity come with a performance trade-off.
Answer
slow
- 80The lecture summarizes storage trade-offs as a choice among speed, cost, and_____.
Hint
This refers to how much data the device can store.
Answer
size
- 81The hardware component that mediates communication between the computer and a disk is the_____.
Hint
The computer communicates with this component, which handles device-specific operations.
Answer
disk controller
- 82Connecting storage devices together so they can be accessed as a shared storage system creates a_____.
Hint
It is a network dedicated to connecting storage resources.
Answer
storage area network
- 83Cloud storage is not a mysterious separate kind of technology; it is storage on a computer located_____.
Hint
The storage is remote from the user's own machine.
Answer
somewhere else
- 84Network attached storage can appear in a file explorer as a drive even though the data is stored on a separate_____.
Hint
The storage is reached through the network rather than residing on the local computer.
Answer
server
- 85The network protocol mentioned for sending data across a network is_____.
Hint
It is a common protocol used to transmit data over networks.
Answer
TCP
- 86When many users access many storage devices, a storage network can be sped up by using_____connections instead of copper.
Hint
These connections use light to transmit data.
Answer
optical
- 87Splitting data across multiple devices can allow the devices to serve different parts of a request in_____.
Hint
The devices work at the same time rather than one after another.
Answer
parallel
- 88Processing disk requests in the order they arrive is the_____scheduling algorithm.
Hint
It honors the arrival order without rearranging requests.
Answer
first come, first served
- 89The disk scheduling algorithm that selects the pending request requiring the least head movement is_____.
Hint
It chooses the closest request from the head's current position.
Answer
shortest seek time first
- 90A risk of shortest seek time first is that requests far from the current head position may experience_____.
Hint
Nearby requests may repeatedly be selected ahead of distant ones.
Answer
starvation
- 91Giving waiting requests progressively greater priority over time is called_____.
Hint
It prevents a request from being postponed forever.
Answer
aging
- 92The scan algorithm moves the disk head in one direction servicing requests and then_____to service requests on the way back.
Hint
After reaching an end, the head travels through the disk in the opposite direction.
Answer
reverses
- 93The scan algorithm is often compared to a_____that travels in both directions and serves people along the way.
Hint
It moves through floors, stopping for people as it goes.
Answer
lift
- 94Circular scan, or C-SCAN, services requests in one direction and then returns to the beginning without servicing requests on the_____.
Hint
It resets to the start before beginning another servicing pass.
Answer
return
- 95Compared with scan, C-SCAN can provide a more_____waiting time for requests.
Hint
Its one-direction servicing pattern makes waits more consistent.
Answer
uniform
- 96The LOOK algorithm reverses direction after the last pending request rather than traveling to the physical end of the_____.
Hint
It avoids moving through a region with no requests.
Answer
disk
- 97C-LOOK combines circular servicing with the LOOK idea by jumping back after the last request instead of going to the disk's_____.
Hint
There is no need to travel beyond the furthest request.
Answer
end
- 98The best disk scheduling algorithm depends partly on the machine's request_____.
Hint
The number and pattern of pending requests affect which approach works well.
Answer
load
- 99A disk scheduler may be implemented as a separate module so that it can be changed to improve_____.
Hint
The goal is to reduce delays in accessing storage.
Answer
performance
- 100Preparing a disk by defining the sectors it can use is called_____.
Hint
This operation establishes the disk's usable organization.
Answer
formatting
- 101A physical disk can be divided into multiple logical sections called_____.
Hint
Each section can be treated as a separate logical disk.
Answer
partitions
- 102A partition is a physical split of a disk, whereas a volume is a_____split.
Hint
A volume describes how storage is presented, not just a physical boundary.
Answer
logical
- 103A volume can span more than one_____.
Hint
Logical storage does not have to be confined to one device.
Answer
physical disk
- 104A group of disk blocks managed together by the file system may be called a_____.
Hint
It can contain several blocks.
Answer
cluster
- 105An application that manages its own storage layout may request_____access instead of using a file system.
Hint
The application accesses a partition without relying on the usual file organization.
Answer
raw disk
- 106The disk structure containing boot code and a partition table is the_____.
Hint
It helps the system choose a partition during startup.
Answer
master boot record
- 107A master boot record can help a computer choose which partition to_____.
Hint
The choice determines which operating system starts.
Answer
boot
- 108Disk space reserved to support virtual memory when RAM is insufficient is called_____.
Hint
The operating system uses it as backing storage for memory.
Answer
swap space
- 109Keeping swap space in one continuous region can reduce delays caused by_____access.
Hint
The region is stored on a physical storage device.
Answer
disk
- 110Some operating systems put swap space in its own partition, while others manage it as a_____.
Hint
In this arrangement, swap is stored within a regular file system.
Answer
file
- 111RAID stands for redundant array of_____disks.
Hint
The acronym describes an array built from disks intended to be affordable.
Answer
inexpensive
- 112RAID can improve read performance by distributing data across disks so that several devices can read in_____.
Hint
The devices work at the same time on different portions of the data.
Answer
parallel
- 113Keeping an identical copy of data on another disk is called_____.
Hint
The second disk duplicates what is stored on the first.
Answer
mirroring
- 114Some RAID arrangements use_____information so lost data can be reconstructed after a disk failure.
Hint
It provides information used to calculate missing data.
Answer
parity
- 115Replacing a failed disk while the system continues operating is called_____.
Hint
The replacement does not require the machine to be turned off.
Answer
hot swap

Ask anything
We've read this whole study set, so questions about it get the best answers.