1. Home
  2. Explore
  3. Computer Science
  4. File Systems Overview

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

File Systems Overview

  • 45Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: File Concepts and Attributes
A file is defined as a contiguous
address space.

45 questions

  1. 1
    A file is defined as a contiguous
    _____
    address space.
    Hint

    The term contrasts with physical; it relates to how the file is perceived.

    Answer

    logical

  2. 2
    In 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

  3. 3
    File systems provide an
    _____
    (three-letter acronym) that allows programs to perform operations without worrying about storage details.
    Hint

    Application Program Interface.

    Answer

    API

  4. 4
    The 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

  5. 5
    A
    _____
    lock allows multiple users to read a file but prevents writing.
    Hint

    Contrast with exclusive lock; allows sharing for reading.

    Answer

    shared

  6. 6
    A 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

  7. 7
    Some 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

  8. 8
    Mandatory locks are enforced by the
    _____
    , while advisory locks rely on cooperation between programs.
    Hint

    The system component that manages resources.

    Answer

    operating system

  9. 9
    To 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

  10. 10
    The file operation that retrieves data from a file is
    _____
    .
    Hint

    It transfers data from the file to memory.

    Answer

    read

  11. 11
    The file operation that stores data to a file is
    _____
    .
    Hint

    It transfers data from memory to the file.

    Answer

    write

  12. 12
    The file operation that releases a file handle and frees resources is
    _____
    .
    Hint

    It is the opposite of open.

    Answer

    close

  13. 13
    The 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

  14. 14
    The operation to create a new file is typically called
    _____
    .
    Hint

    It allocates initial space and metadata for a new file.

    Answer

    create

  15. 15
    The operation to remove a file from the file system is
    _____
    .
    Hint

    It frees the space and removes the directory entry.

    Answer

    delete

  16. 16
    Unlike 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

  17. 17
    A 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

  18. 18
    In a fixed-length record file, each record has the same
    _____
    .
    Hint

    The number of bytes per record is constant.

    Answer

    size

  19. 19
    A binary file stores data in a format that is not restricted to
    _____
    characters.
    Hint

    Unlike text files, which use human-readable characters.

    Answer

    text

  20. 20
    Sequential 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

  21. 21
    In 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

  22. 22
    The ISAM access method stands for
    _____
    .
    Hint

    It's a common acronym in database systems.

    Answer

    Indexed Sequential Access Method

  23. 23
    Tape libraries often use a
    _____
    to automatically retrieve and load tapes.
    Hint

    Mechanical arm.

    Answer

    robot

  24. 24
    To 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

  25. 25
    A directory structure where all files are stored in one level is called a
    _____
    directory.
    Hint

    One big directory with no subdirectories.

    Answer

    single-level

  26. 26
    A 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

  27. 27
    In 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

  28. 28
    Garbage collection is a process that periodically checks for and removes
    _____
    links.
    Hint

    Links that point to deleted or non-existent files.

    Answer

    dangling

  29. 29
    A relative path name is specified relative to the
    _____
    directory.
    Hint

    It depends on where the user is in the directory tree.

    Answer

    current

  30. 30
    The Linux command to create a link to an existing file is
    _____
    .
    Hint

    Short for 'link'.

    Answer

    ln

  31. 31
    Dividing 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

  32. 32
    After partitioning, a partition must be
    _____
    (process) to create a file system.
    Hint

    Selecting FAT32 or NTFS.

    Answer

    formatted

  33. 33
    A partition that has been formatted with a file system is called a
    _____
    .
    Hint

    Windows shows volumes as C: or D:.

    Answer

    volume

  34. 34
    A 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

  35. 35
    The 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

  36. 36
    In Linux, devices are often mounted under the
    _____
    directory.
    Hint

    This directory contains device files.

    Answer

    /dev

  37. 37
    In Unix file permissions, the access mode is represented by three
    _____
    digits.
    Hint

    Each digit corresponds to read, write, execute bits.

    Answer

    octal

  38. 38
    The command to change file permissions in Unix is
    _____
    .
    Hint

    It stands for 'change mode'.

    Answer

    chmod

  39. 39
    In 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

  40. 40
    In Windows, file permissions include a separate
    _____
    permission not found in Unix.
    Hint

    Unix combines write and modify; Windows splits them.

    Answer

    modify

  41. 41
    The network file system protocol commonly used in Unix environments is
    _____
    .
    Hint

    Three-letter acronym standing for Network File System.

    Answer

    NFS

  42. 42
    LDAP is a protocol used to provide
    _____
    information in a network.
    Hint

    It stores details about users and groups.

    Answer

    user

  43. 43
    The 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

  44. 44
    In file sharing, each user is identified by a unique
    _____
    .
    Hint

    A numeric or alphanumeric identifier.

    Answer

    user ID

  45. 45
    Users can be organized into
    _____
    to simplify permission management.
    Hint

    A collection of users with similar access needs.

    Answer

    groups

1 of 45
Question 1 of 45

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent