GATE / CS ARCHIVE

GATE CSE 2008 / QUESTION 64

Synchronous versus asynchronous I/O

Operating Systems · I/O & Disk Scheduling · Full GATE CSE 2008 paper

GATE 2008, Q64 2 marks · MCQ
Report issue

I/O & Disk Scheduling

Question 64, GATE 2008: Which statement about synchronous/asynchronous I/O is NOT true in the interrupt-driven model?

(A) An ISR is invoked on synchronous completion but not asynchronous completion
(B) Both synchronous and asynchronous I/O invoke an ISR after completion
(C) Synchronous callers wait for completion; asynchronous callers do not
(D) For synchronous I/O, the completion ISR wakes the waiting process
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

1. In the intended interrupt-driven I/O model, both synchronous and asynchronous operations can invoke an ISR on completion. Synchronous versus asynchronous describes whether the requesting process waits, not whether completion interrupts exist.
2. Hence A is the false statement; B, C and D describe the model. More generally I/O can be polled, so interrupt use is an assumed implementation detail rather than a universal consequence of synchronous/asynchronous semantics.

Original paper, page 13