Free Online Flashcard Deck

8 Input and Output Management Free Online FlashCards

Study 8 Input and Output Management with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.

12 cards
01
Front

What does operating-system I/O management do?

Back

It coordinates communication between programs and hardware, routing requests, managing buffers and access permissions, and reporting results.

02
Front

How does a typical I/O request travel from a program to a device?

Back

An application makes a request to the OS, the I/O subsystem routes it to a device driver, and the device performs the operation. The OS then makes the result available to the program.

03
Front

What is a device driver’s main role?

Back

A device driver lets the OS operate a particular device or class of devices by translating general requests into device-specific commands.

04
Front

What are device registers used for?

Back

They are small control and status locations that a driver can use to issue commands to a device or check its state.

05
Front

What is memory-mapped I/O (MMIO)?

Back

Memory-mapped I/O uses a region of address space to access a device’s registers.

06
Front

How does direct memory access (DMA) help with large transfers?

Back

DMA transfers data between a device and main memory without requiring the CPU to copy each byte. The OS and driver arrange the transfer and handle its completion.

07
Front

What is polling, and what is one drawback?

Back

Polling is when the CPU repeatedly checks a device’s status. It is straightforward, but the repeated checks use processing time even when the device has nothing to report.

08
Front

What happens when a device raises an interrupt?

Back

An interrupt is a signal from a device that it needs attention, such as when input arrives or a transfer finishes. The processor handles the event, then resumes other work.

09
Front

What should an interrupt handler do first?

Back

It performs the time-sensitive work needed to acknowledge or identify the event. Longer processing can be deferred so the immediate response stays short.

10
Front

What must a handler check when devices share an interrupt?

Back

A handler may need to check whether its own device caused the interrupt before responding.

11
Front

What is a buffer in I/O management?

Back

A buffer is temporary memory that holds data while it moves between a program and a device.

12
Front

Why can buffers help when programs and devices transfer data?

Back

Buffers accommodate differences in transfer speed and size, such as gradual keyboard input being collected for a program that processes larger chunks.