GATE / CS ARCHIVE

SIMILAR QUESTIONS / COMPUTER ORGANIZATION & ARCHITECTURE

Distinguish vectoring, daisy-chain and polling

2 questions solved the same way, newest first. Back to Computer Organization & Architecture

How these are solved

Both evaluate whether vectoring identifies the ISR without polling each device and whether daisy chaining assigns priority rather than requiring CPU polling.

1 mark · MCQ
Report issue

Vectored interrupts and daisy-chain priority

Input/Output, DMA & Interrupts

Question 18, GATE 2026: S1 says non-vectored interrupts usually take longer than vectored interrupts to start the device ISR. S2 says daisy-chain interrupt handling has the CPU poll every input device separately. Options: A both true; B both false; C only S1 true; D only S2 true.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

Givens and goal

S1 says non-vectored interrupts usually take longer than vectored interrupts to start the device ISR. S2 says daisy-chain interrupt handling has the CPU poll every input device separately. Options: A both true; B both false; C only S1 true; D only S2 true.

Approach

Distinguish ISR dispatch from hardware priority resolution.

Step-by-step solution

1. A vectored interrupt supplies a vector that identifies the appropriate service routine, often by indexing an interrupt-vector table. This enables direct dispatch to the required ISR.
2. A non-vectored mechanism typically enters a common location and needs extra identification or dispatch work before the device-specific ISR starts. Thus S1 is true in the usual organization; it is a typical comparison, not a universal timing theorem about all CPUs.
3. In a daisy chain, an interrupt-acknowledge signal propagates through devices in priority order. A requesting device captures the acknowledgement and identifies itself; devices earlier in the chain have priority.
4. The CPU need not poll each device individually in that mechanism. That description belongs to software polling, so S2 is false and C is correct.

Original paper, page 15 · Answer key

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