1. Home
  2. Explore
  3. Education
  4. Transcription and Subtitles

Study methods

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

Transcription and Subtitles

  • 67Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: IO Architecture
An operating system must support many different input/output devices because devices vary in connection method, speed, direction of data transfer, and method of interaction. This general category of computer operation is called
.

67 questions

  1. 1
    An operating system must support many different input/output devices because devices vary in connection method, speed, direction of data transfer, and method of interaction. This general category of computer operation is called
    _____
    .
    Hint

    Think of the systems that move data into and out of a computer.

    Answer

    input output

  2. 2
    A device such as a monitor that primarily receives data from the computer is an example of a
    _____
    device.
    Hint

    The data travels in only one direction.

    Answer

    one way

  3. 3
    A hard disk is generally considered a
    _____
    device because the computer can both send data to it and receive data from it.
    Hint

    It supports both of the two basic data operations.

    Answer

    read, write

  4. 4
    Compared with an SSD, a tape or printer is typically an example of a relatively
    _____
    IO device.
    Hint

    Consider how long each device takes to transfer data.

    Answer

    slow

  5. 5
    The shared pathway through which data from multiple devices is transferred inside the computer is the data
    _____
    .
    Hint

    It is the common communication pathway connecting devices and the processor.

    Answer

    bus

  6. 6
    A USB keyboard, mouse, webcam, phone, and foot pedal can all use the same type of connector because USB devices connect through a USB
    _____
    .
    Hint

    This is the shared bus used by multiple USB devices.

    Answer

    expansion bus

  7. 7
    A controller that supports multiple devices allows several devices to share one
    _____
    .
    Hint

    The shared component manages communication with the attached devices.

    Answer

    controller

  8. 8
    Connecting additional SCSI devices one after another rather than connecting each directly to the controller is called a SCSI
    _____
    .
    Hint

    The devices are linked in a sequence.

    Answer

    Daisy Chain

  9. 9
    The PCI bus can connect to other interfaces, including an expansion bus used by devices such as USB peripherals. This arrangement allows many devices to share one main
    _____
    .
    Hint

    It is the central pathway carrying data throughout the system.

    Answer

    bus

  10. 10
    Because many devices may attempt to use the same bus simultaneously, the operating system must provide hardware and mechanisms for connecting, transferring, and
    _____
    the devices.
    Hint

    This function determines how devices operate and share system resources.

    Answer

    controlling

  11. 11
    Software designed to communicate with the specific hardware and functions of a particular device is called a device
    _____
    .
    Hint

    The software acts as an interpreter between the operating system and a device.

    Answer

    driver

  12. 12
    A new mouse, printer, keyboard, graphics card, or monitor may require installation of a new device
    _____
    .
    Hint

    The operating system needs software that understands the new hardware.

    Answer

    driver

  13. 13
    The hardware component that controls a particular IO device may contain electronics, memory, a cache, or a
    _____
    .
    Hint

    It temporarily holds data during transfer.

    Answer

    buffer

  14. 14
    A device controller uses registers for receiving data, sending data, and determining whether the device is currently being
    _____
    .
    Hint

    The operating system must know whether another process can access the device.

    Answer

    used

  15. 15
    Using the same generic instruction, such as “read some data,” for different devices while leaving device-specific details to the hardware is an example of using common
    _____
    instructions.
    Hint

    The instructions operate on input/output devices in a general way.

    Answer

    IO

  16. 16
    The operating system's IO subsystem contains device drivers that communicate with specific device
    _____
    .
    Hint

    These hardware components manage the actual devices.

    Answer

    controllers

  17. 17
    A device driver and its corresponding device controller must work
    _____
    for the device to operate correctly.
    Hint

    The two components cooperate closely.

    Answer

    in tandem

  18. 18
    A controller can remain installed even when no device is attached to it; in that case, the controller simply has no devices
    _____
    to it.
    Hint

    Think about the physical relationship between a controller and its peripherals.

    Answer

    attached

  19. 19
    An operating system must track which process is using each device to prevent conflicting operations, such as two applications writing to a printer at the same time. This requires monitoring device
    _____
    .
    Hint

    The system needs information about whether a device is free or occupied.

    Answer

    status

  20. 20
    Representing an IO device as though it occupies a memory location, so that ordinary memory instructions can access it, is called memory mapped
    _____
    .
    Hint

    The device is accessed through the same address-based mechanism as memory.

    Answer

    IO

  21. 21
    In memory mapped IO, writing data to a designated memory address can cause hardware such as a graphics adapter to perform an action on a
    _____
    .
    Hint

    The memory address represents an IO component rather than ordinary memory.

    Answer

    device

  22. 22
    If the processor communicates directly with an IO device using special instructions rather than memory instructions, those instructions are called
    _____
    instructions.
    Hint

    They explicitly identify input/output operations.

    Answer

    IO

  23. 23
    The CPU uses the address bus to specify the
    _____
    from which it wants to read or to which it wants to write.
    Hint

    This identifies the location involved in the operation.

    Answer

    address

  24. 24
    Some IO locations are assigned standardized addresses that the system already recognizes; these are called
    _____
    devices or locations.
    Hint

    The operating system and hardware know these addresses in advance.

    Answer

    well known

  25. 25
    The interrupt controller in the example is located at IO address 202020 to 212121 in
    _____
    notation.
    Hint

    This number system is commonly used to represent hardware addresses.

    Answer

    hex

  26. 26
    A method in which the CPU repeatedly checks each device to determine whether it has data or needs attention is called
    _____
    .
    Hint

    The CPU asks each device the same question in sequence.

    Answer

    polling

  27. 27
    A method in which a device signals the CPU when it has data or needs attention is called an
    _____
    .
    Hint

    The device does not wait for the CPU to check it first.

    Answer

    interrupt

  28. 28
    When a keyboard device signals that a key was pressed, the CPU runs the keyboard interrupt
    _____
    .
    Hint

    This software routine responds to the interrupt.

    Answer

    handler

  29. 29
    The keyboard interrupt handler should place the retrieved character in a
    _____
    rather than attempting to process it immediately.
    Hint

    The character is stored temporarily for later use.

    Answer

    buffer

  30. 30
    Interrupt handlers should be small, compact, and
    _____
    so that the CPU can quickly return to the interrupted process.
    Hint

    The handler should minimize the time spent servicing the interrupt.

    Answer

    fast

  31. 31
    A device requests CPU attention by raising the interrupt
    _____
    line on the bus.
    Hint

    The line communicates that an interrupt has been requested.

    Answer

    request

  32. 32
    Interrupts that can be ignored or temporarily disabled by the CPU are called
    _____
    interrupts.
    Hint

    The CPU can apply a mask to prevent these interrupts from being serviced.

    Answer

    maskable

  33. 33
    Interrupts that must always be serviced are called
    _____
    interrupts.
    Hint

    They cannot be disabled by applying an interrupt mask.

    Answer

    non maskable

  34. 34
    On the example CPU, the first 323232 interrupts are classified as
    _____
    interrupts.
    Hint

    They include serious exceptions such as divide errors and page faults.

    Answer

    non maskable

  35. 35
    Divide errors, breakpoints, debugging events, and page faults are examples of CPU
    _____
    handled through the interrupt mechanism.
    Hint

    These events indicate that something unusual or erroneous occurred.

    Answer

    exceptions

  36. 36
    The mechanism that allows a device to transfer a chunk of data directly to memory without requiring the CPU to manage every word is called
    _____
    .
    Hint

    The acronym names direct access to memory.

    Answer

    DMA direct memory access

  37. 37
    DMA is especially useful for devices such as hard disks because they commonly transfer a large
    _____
    of data at once.
    Hint

    Think of a block-sized transfer rather than one word at a time.

    Answer

    chunk

  38. 38
    With DMA, the CPU specifies the amount of data, its source, and its destination, then allows the DMA controller to perform the transfer and notify it when the operation is
    _____
    .
    Hint

    The CPU waits for completion rather than supervising every word.

    Answer

    done

  39. 39
    The hardware component required to perform direct memory access is a DMA
    _____
    .
    Hint

    It manages the transfer on behalf of the CPU.

    Answer

    controller

  40. 40
    DMA improves CPU efficiency because the CPU does not have to control every transferred
    _____
    .
    Hint

    This is the basic unit the CPU would otherwise transfer individually.

    Answer

    word

  41. 41
    A keyboard is classified as a
    _____
    device because it supplies one character at a time.
    Hint

    Its data arrives as a sequence of individual characters.

    Answer

    character stream

  42. 42
    A hard disk is classified as a
    _____
    device because data is transferred in units such as 222K or 444K blocks.
    Hint

    Unlike a keyboard, it transfers groups of data together.

    Answer

    block

  43. 43
    A tape drive and a keyboard are examples of
    _____
    devices because data is accessed in sequence.
    Hint

    The next item is reached by progressing through the preceding items.

    Answer

    sequential

  44. 44
    A hard disk is an example of a
    _____
    access device because the system can request data from an arbitrary location.
    Hint

    The requested location does not have to be next in sequence.

    Answer

    random

  45. 45
    An IO operation in which the requesting process waits until the device operation finishes is called
    _____
    IO.
    Hint

    The process is prevented from continuing during the operation.

    Answer

    blocking

  46. 46
    An IO approach that allows a process to perform some work, return to the operation later, and receive information about how much has transferred is called
    _____
    IO.
    Hint

    The process is not stopped for the entire operation.

    Answer

    non blocking

  47. 47
    In synchronous IO, the requesting operation eventually returns information indicating that the IO operation has
    _____
    .
    Hint

    The result is reported after the transfer has progressed through the system.

    Answer

    happened

  48. 48
    In asynchronous IO, the process continues working while the device performs the transfer and is notified later when the data is
    _____
    .
    Hint

    The process does not wait idle for the result.

    Answer

    available

  49. 49
    A device that can be used by multiple processes at the same time is described as
    _____
    .
    Hint

    The resource can be shared rather than assigned exclusively.

    Answer

    shareable

  50. 50
    A printer generally needs to be assigned to one process at a time, making it a
    _____
    device.
    Hint

    Multiple simultaneous writers would produce jumbled output.

    Answer

    dedicated

  51. 51
    The IO subsystem may schedule device access to ensure that each process receives a fair share of a resource; this guarantee is called quality of
    _____
    .
    Hint

    The phrase describes guaranteed fairness in resource access.

    Answer

    service

  52. 52
    Memory placed between a fast system and a slower device to temporarily hold transferred data is called a
    _____
    .
    Hint

    It absorbs the speed difference between two components.

    Answer

    buffer

  53. 53
    A buffer can allow a hard disk controller to collect a complete block, such as 444K or 888K, before transferring it across the
    _____
    .
    Hint

    The data uses this shared pathway to reach the system.

    Answer

    bus

  54. 54
    The programming issue concerning which of two copies of data is authoritative after one copy changes is called copy
    _____
    .
    Hint

    It concerns the meaning and behavior of copied data.

    Answer

    semantics

  55. 55
    A table that records connected devices, their requests, and which processes are using them is called a device status
    _____
    .
    Hint

    It is an organized list of device information.

    Answer

    table

  56. 56
    Keeping recently retrieved device data in fast memory so it can be reused without contacting the slower device is called
    _____
    .
    Hint

    The technique relies on a faster copy of frequently used data.

    Answer

    caching

  57. 57
    The technique of placing printer output into a file or queue so that the process does not have to wait for the slow printer is called
    _____
    .
    Hint

    The printer processes queued files later.

    Answer

    spooling

  58. 58
    The queue that stores files waiting to be printed is called a
    _____
    queue.
    Hint

    It is named after the technique used to manage slow devices.

    Answer

    spool

  59. 59
    When processes wait indefinitely for resources held by one another, the system is experiencing a
    _____
    .
    Hint

    No process can proceed because each is waiting for another.

    Answer

    deadlock

  60. 60
    The operating system must handle read and write failures by deciding whether to retry, mark a location as unusable, or report an
    _____
    .
    Hint

    This is the general condition reported when an operation fails.

    Answer

    error

  61. 61
    A disk controller may mark a block as unusable after repeated failed accesses; this creates do-not-use
    _____
    in the device's free-space information.
    Hint

    The marked locations are excluded from normal allocation.

    Answer

    space

  62. 62
    To prevent a process from bypassing the operating system and directly issuing unsafe IO commands, the kernel must
    _____
    IO access.
    Hint

    The kernel restricts unauthorized access to devices.

    Answer

    protect

  63. 63
    When a user requests a file, the system first translates the user-visible file name into the corresponding
    _____
    .
    Hint

    The system must determine where the file is physically or logically stored.

    Answer

    device

  64. 64
    After identifying the device, the system retrieves the requested data into a buffer before returning it to the
    _____
    .
    Hint

    This is the requesting execution context.

    Answer

    process

  65. 65
    When accessing a file stored on a cloud service such as OneDrive, an additional network
    _____
    can increase the IO delay.
    Hint

    The data must travel between machines.

    Answer

    connection

  66. 66
    Keeping a synchronized local copy of frequently used cloud files can improve performance by avoiding a network transfer on every
    _____
    .
    Hint

    The local copy is used when the file is requested again.

    Answer

    access

  67. 67
    Windows implements IO using an object-oriented method with a message-passing
    _____
    .
    Hint

    This defines how components communicate by exchanging messages.

    Answer

    protocol

1 of 67
Question 1 of 67

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent