โ† Back to 13. I/O Systems

๐Ÿ“ Direct memory access in I/O Hardware

๐Ÿ“– From Operating System โ€ข 13. I/O Systems โ€ข 14 questions available

Practice MCQs for Direct memory access in I/O Hardware. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.

๐Ÿ”„ Last updated: 2026-07-27

3
Easy Questions
7
Medium Questions
4
Hard Questions

๐Ÿ“ Sample Questions

Q1. A computer needs to copy a 4โ€ฏMB file from a disk controller to main memory. Which benefit does using DMA provide over having the CPU copy each byte?

๐Ÿ”น A. The CPU can enter lowโ€‘power mode during the transfer
๐Ÿ”น B. The transfer will be errorโ€‘free
๐Ÿ”น C. The disk controller can verify data integrity
๐Ÿ”น D. The file will be compressed automatically

๐Ÿ’ก Difficulty: easy | โœ… Correct: A

Q2. An embedded system reads sensor data at 1โ€ฏkHz and stores it in a buffer. Which condition makes DMA the preferred method instead of programmed I/O?

๐Ÿ”น A. The sensor sends data in single-byte packets
๐Ÿ”น B. The CPU has plenty of idle cycles
๐Ÿ”น C. The buffer size is only 16 bytes
๐Ÿ”น D. The system must minimize CPU interruptions

๐Ÿ’ก Difficulty: medium | โœ… Correct: D

Q3. Designing a DMA engine for a PCI Express device that must address up to 2โ€ฏTiB of RAM, which bus width is required to transfer a full 64โ€‘bit address in a single transaction?

๐Ÿ”น A. 32โ€‘bit
๐Ÿ”น B. 64โ€‘bit
๐Ÿ”น C. 128โ€‘bit
๐Ÿ”น D. 256โ€‘bit

๐Ÿ’ก Difficulty: hard | โœ… Correct: B

โฌ†๏ธ View all questions in the quiz below

๐Ÿ”— Related Topics

๐Ÿ“ Overview of I/O Systems๐Ÿ“ I/O Hardware in I/O Systems๐Ÿ“ Polling in I/O Hardware๐Ÿ“ Interrupts in I/O Hardware๐Ÿ“ I/O hardware summary
๐Ÿš€ Start Quiz ๐Ÿ“ Practice Mode