Transcription and Subtitles
- 67Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
67 questions
- 1An 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
- 2A 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
- 3A 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
- 4Compared 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
- 5The 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
- 6A 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
- 7A controller that supports multiple devices allows several devices to share one_____.
Hint
The shared component manages communication with the attached devices.
Answer
controller
- 8Connecting 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
- 9The 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
- 10Because 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
- 11Software 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
- 12A 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
- 13The 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
- 14A 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
- 15Using 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
- 16The operating system's IO subsystem contains device drivers that communicate with specific device_____.
Hint
These hardware components manage the actual devices.
Answer
controllers
- 17A device driver and its corresponding device controller must work_____for the device to operate correctly.
Hint
The two components cooperate closely.
Answer
in tandem
- 18A 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
- 19An 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
- 20Representing 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
- 21In 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
- 22If 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
- 23The 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
- 24Some 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
- 25The interrupt controller in the example is located at IO address 20 to 21 in_____notation.
Hint
This number system is commonly used to represent hardware addresses.
Answer
hex
- 26A 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
- 27A 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
- 28When 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
- 29The 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
- 30Interrupt 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
- 31A device requests CPU attention by raising the interrupt_____line on the bus.
Hint
The line communicates that an interrupt has been requested.
Answer
request
- 32Interrupts 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
- 33Interrupts that must always be serviced are called_____interrupts.
Hint
They cannot be disabled by applying an interrupt mask.
Answer
non maskable
- 34On the example CPU, the first 32 interrupts are classified as_____interrupts.
Hint
They include serious exceptions such as divide errors and page faults.
Answer
non maskable
- 35Divide 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
- 36The 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
- 37DMA 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
- 38With 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
- 39The hardware component required to perform direct memory access is a DMA_____.
Hint
It manages the transfer on behalf of the CPU.
Answer
controller
- 40DMA 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
- 41A 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
- 42A hard disk is classified as a_____device because data is transferred in units such as 2K or 4K blocks.
Hint
Unlike a keyboard, it transfers groups of data together.
Answer
block
- 43A 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
- 44A 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
- 45An 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
- 46An 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
- 47In 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
- 48In 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
- 49A 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
- 50A 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
- 51The 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
- 52Memory 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
- 53A buffer can allow a hard disk controller to collect a complete block, such as 4K or 8K, before transferring it across the_____.
Hint
The data uses this shared pathway to reach the system.
Answer
bus
- 54The 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
- 55A 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
- 56Keeping 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
- 57The 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
- 58The 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
- 59When 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
- 60The 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
- 61A 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
- 62To 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
- 63When 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
- 64After 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
- 65When 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
- 66Keeping 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
- 67Windows implements IO using an object-oriented method with a message-passing_____.
Hint
This defines how components communicate by exchanging messages.
Answer
protocol

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