Saturday, May 16, 2020

Operating Systems Question Bank with Answers 12

Distinguish between traditional interrupt-based I/O and DMA-based I/O.



Question:
Distinguish between traditional interrupt-based I/O and DMA-based I/O.

Answer:
Traditional Interrupt-based I/O:
  • Device interrupts the CPU when it needs attention
  • CPU is required to perform the I/O operation
  • CPU stops processing other jobs while servicing the interrupt
DMA-based I/O:
  • CPU is required to initialize memory, registers, counters
  • DMA controller (not CPU) handles I/O operations
  • Interrupt generated each time an entire block is transferred

******************
Related Questions:


No comments:

Post a Comment

Featured Content

Multiple choice questions in Natural Language Processing Home

MCQ in Natural Language Processing, Quiz questions with answers in NLP, Top interview questions in NLP with answers Multiple Choice Que...

All time most popular contents

data recovery