File Systems Overview
- 45Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
45 questions
- 1A file is defined as a contiguous_____address space.
Hint
The term contrasts with physical; it relates to how the file is perceived.
Answer
logical
- 2In the Mac operating system, files can have a_____attribute that allows assigning colors for organization.
Hint
A visual tag not mentioned in the basic list of file attributes.
Answer
label
- 3File systems provide an_____(three-letter acronym) that allows programs to perform operations without worrying about storage details.
Hint
Application Program Interface.
Answer
API
- 4The process of keeping track of open files and ensuring they are closed is important because open files consume_____that can be exhausted.
Hint
Think about the table that tracks open files; it grows.
Answer
memory
- 5A_____lock allows multiple users to read a file but prevents writing.
Hint
Contrast with exclusive lock; allows sharing for reading.
Answer
shared
- 6A lock that prevents all other access to a file while it is being modified is called an_____lock.
Hint
Only one user can hold this type of lock.
Answer
exclusive
- 7Some file systems offer_____locking, allowing multiple users to lock different parts of a file simultaneously.
Hint
Instead of locking the whole file, lock smaller units.
Answer
record-level
- 8Mandatory locks are enforced by the_____, while advisory locks rely on cooperation between programs.
Hint
The system component that manages resources.
Answer
operating system
- 9To begin working with a file, a program must call the_____operation to obtain a file handle.
Hint
It is the first operation performed on a file.
Answer
open
- 10The file operation that retrieves data from a file is_____.
Hint
It transfers data from the file to memory.
Answer
read
- 11The file operation that stores data to a file is_____.
Hint
It transfers data from memory to the file.
Answer
write
- 12The file operation that releases a file handle and frees resources is_____.
Hint
It is the opposite of open.
Answer
close
- 13The file operation that moves the current position within a file without reading data is called_____.
Hint
It allows random access within a file.
Answer
seek
- 14The operation to create a new file is typically called_____.
Hint
It allocates initial space and metadata for a new file.
Answer
create
- 15The operation to remove a file from the file system is_____.
Hint
It frees the space and removes the directory entry.
Answer
delete
- 16Unlike Windows, Unix file systems do not require a file name_____to indicate the file type.
Hint
The three-letter suffix often seen in file names.
Answer
extension
- 17A text file is an example of a_____file, containing lines of human-readable characters.
Hint
The simplest type of file with no complex structure.
Answer
simple
- 18In a fixed-length record file, each record has the same_____.
Hint
The number of bytes per record is constant.
Answer
size
- 19A binary file stores data in a format that is not restricted to_____characters.
Hint
Unlike text files, which use human-readable characters.
Answer
text
- 20Sequential access is best suited for_____applications where data is processed in order.
Hint
Tasks like restoring data after a crash don't require random access.
Answer
backup
- 21In indexed sequential access, the index is often kept in_____to speed up file access.
Hint
Think about where data is stored for fast retrieval.
Answer
memory
- 22The ISAM access method stands for_____.
Hint
It's a common acronym in database systems.
Answer
Indexed Sequential Access Method
- 23Tape libraries often use a_____to automatically retrieve and load tapes.
Hint
Mechanical arm.
Answer
robot
- 24To avoid loading a large index into memory, file systems may use_____indices, where a top-level index points to lower-level indices.
Hint
It involves two levels of indexing.
Answer
dual-layer
- 25A directory structure where all files are stored in one level is called a_____directory.
Hint
One big directory with no subdirectories.
Answer
single-level
- 26A tree-style directory structure prevents_____links that could create loops.
Hint
In a tree, each node has only one parent; loops are not allowed.
Answer
recursive
- 27In a graph-based file system, a_____pointer is used to track how many links point to a file.
Hint
It helps in determining when to delete the file.
Answer
back
- 28Garbage collection is a process that periodically checks for and removes_____links.
Hint
Links that point to deleted or non-existent files.
Answer
dangling
- 29A relative path name is specified relative to the_____directory.
Hint
It depends on where the user is in the directory tree.
Answer
current
- 30The Linux command to create a link to an existing file is_____.
Hint
Short for 'link'.
Answer
ln
- 31Dividing a disk into separate sections, each with its own file system, is called_____.
Hint
You might do this to separate OS and data.
Answer
partitioning
- 32After partitioning, a partition must be_____(process) to create a file system.
Hint
Selecting FAT32 or NTFS.
Answer
formatted
- 33A partition that has been formatted with a file system is called a_____.
Hint
Windows shows volumes as C: or D:.
Answer
volume
- 34A single_____can span multiple physical disks, allowing them to be treated as one storage unit.
Hint
It can cover more than one disk.
Answer
partition
- 35The process of making a storage device accessible to the file system is called_____.
Hint
You do this when you insert a USB drive.
Answer
mounting
- 36In Linux, devices are often mounted under the_____directory.
Hint
This directory contains device files.
Answer
/dev
- 37In Unix file permissions, the access mode is represented by three_____digits.
Hint
Each digit corresponds to read, write, execute bits.
Answer
octal
- 38The command to change file permissions in Unix is_____.
Hint
It stands for 'change mode'.
Answer
chmod
- 39In a Unix file listing, a directory is indicated by a_____in the first character of the permissions string.
Hint
It's a single letter; files have a dash.
Answer
d
- 40In Windows, file permissions include a separate_____permission not found in Unix.
Hint
Unix combines write and modify; Windows splits them.
Answer
modify
- 41The network file system protocol commonly used in Unix environments is_____.
Hint
Three-letter acronym standing for Network File System.
Answer
NFS
- 42LDAP is a protocol used to provide_____information in a network.
Hint
It stores details about users and groups.
Answer
user
- 43The domain name system (DNS) is used to resolve_____names to IP addresses in file sharing over networks.
Hint
Translates human-readable names to numerical addresses.
Answer
host
- 44In file sharing, each user is identified by a unique_____.
Hint
A numeric or alphanumeric identifier.
Answer
user ID
- 45Users can be organized into_____to simplify permission management.
Hint
A collection of users with similar access needs.
Answer
groups

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