Skip to main content

Devices for Operating Systemss

Devices covers how the operating system talks to hardware such as disks and network cards. Drivers hide device details behind a common interface, and the OS uses polling, interrupts or direct memory access to move data. Hard disk performance depends on seek time, rotation and transfer, so scheduling matters.

Stage: Persistence · Part of the Operating Systems roadmap · Last reviewed 19 November 2026

What to learn in Devices

Devices interview questions

Why is DMA better than programmed I/O for large transfers?

With programmed I/O the CPU copies every byte itself. With DMA a controller moves the data between device and memory directly and raises one interrupt when done, so the CPU is free to run other work during the transfer.

How does RAID 1 differ from RAID 5?

RAID 1 mirrors data on two or more disks, which gives simple redundancy but halves usable capacity. RAID 5 stripes data with distributed parity across at least three disks, tolerating one disk failure with better capacity but slower small writes.

Where Devices fits in the Operating Systems roadmap

Devices belongs to the Persistence stage (advanced level). Storage and file systems.

Back to the full Operating Systems roadmap