GATE / CS ARCHIVE

GATE CSE 2020 / QUESTION 3

GATE CSE 2020 Q3

Computer Organization & Architecture · Input/Output, DMA & Interrupts · Full GATE CSE 2020 paper

GATE 2020, Q3 1 mark · MCQ
Report issue

Input/Output, DMA & Interrupts

Question 3, GATE 2020: Which statements are true? I Daisy chaining assigns interrupt priority. II For a vectored interrupt CPU polls to identify the source. III Polling periodically checks device status bits. IV During DMA the CPU and DMA controller can simultaneously be masters of the bus. Options: A I,II; B I,IV; C I,III; D III only.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

Worked explanation

In a daisy chain an interrupt acknowledge passes through devices in order; the first requesting device captures it, establishing priority. In vectored handling, vector information selects the service routine, avoiding the source-identification poll claimed in II. Polling explicitly means testing device status, establishing III. DMA can overlap CPU computation that does not require the shared bus, but that is different from two simultaneous masters driving one shared bus. The conventional bus arbitration model permits one current owner, making IV false.

Derivation and answer

Daisy chaining imposes interrupt priority, and polling periodically examines device status, so I and III are true. A vectored interrupt supplies identification/vector information rather than requiring source polling. A single shared bus has one current master, so CPU and DMA controller cannot simultaneously master that bus. Thus C in the depicted conventional bus model.

Original paper, page 4 · Answer key