13 Qs · since 2011 · 16 marks · 0.6 marks/paperStandard yield
GATE tests I/O interface (Interrupt and DMA) across two main facets: conceptual understanding of I/O transfer mechanisms (Programmed I/O, Interrupt-driven I/O, and DMA modes) along… Guide
Initialize the address register
Initialize the count to 500
LOOP: Load a byte from device
Store in memory at address given by address register
Increment the address register
Decrement the count
If count != 0 go to LOOP…Topic guide
GATE tests I/O interface (Interrupt and DMA) across two main facets: conceptual understanding of I/O transfer mechanisms (Programmed I/O, Interrupt-driven I/O, and DMA modes) alongside quantitative calculations on DMA bandwidth, cycle stealing, and register limits. Conceptual questions regularly assess interrupt lifecycle events, priority resolution (Daisy chaining vs Polling), and vectored vs non-vectored interrupt handling. Numerical questions focus on DMA throughput given processor clock frequency and stolen cycle percentages, as well as transfer chunking governed by DMA data counter bit-widths.
DMA Cycle-Stealing Bandwidth Calculation
common · mixed · 1 marks · 2024, 2021
Given CPU clock frequency, percentage of cycles stolen by the DMA controller, and bytes/characters transferred per stolen cycle, calculate the effective data transfer rate in bits per second (bps) or bytes per second.
DMA Transfer Count / Bus Acquisition Limit
occasional · NAT · 2 marks · 2016
Given a DMA controller's data count register width (e.g., 16 bits) and a large file size to transfer, calculate the minimum number of distinct DMA bus acquisitions (transfers) required by taking the ceiling division of the file size over the maximum transfer capacity per operation ( bytes).
Interrupt Service Lifecycle and Micro-operations
common · MCQ · 1 marks · 2018, 2013
Identify the precise chronological ordering of hardware and software steps during interrupt handling (finish current instruction -> save status/PC -> load vector -> execute ISR -> restore status) or identify register transfer micro-operations representing interrupt initiation.
Comparative Assessment of I/O Schemes and Priority Resolution
common · MCQ · 1 marks · 2026, 2024, 2022, 2020
Evaluate multi-statement truth values comparing Programmed I/O, Interrupt-Driven I/O, and DMA transfer modes (burst vs cycle stealing), bus master arbitration rules, hardware priority (Daisy chaining) vs software polling, or hardware priority ordering (e.g., thermal sensors vs peripherals).
Execution Time & Speedup: Programmed/Interrupt ISR vs DMA
rare · MCQ · 2 marks · 2011
Compute the clock cycle overhead of an instruction-driven ISR transfer loop versus DMA initialization and block transfer cycles to find the resulting speedup.
Polling vs Interrupt Overhead Comparison
rare · NAT · 1 marks · 2023
Given an I/O device arrival rate (e.g., keystrokes/sec), polling frequency, polling check time, and processing/ISR execution times, calculate the total CPU time or fraction spent under both polling and interrupt-driven modes, then determine their ratio or difference.
DMA Transfer Rate in Cycle-Stealing Mode
Used to determine device transfer rate when DMA steals a fixed percentage of processor cycles running at frequency .
Maximum DMA Block Size per Bus Request
Used when finding the maximum chunk a DMA controller can transfer in one operation given a -bit count register.
Number of DMA Bus Grants Required
Used to find the minimum times DMA requests the system bus to transfer a file larger than its register capacity.
Speedup of DMA over Programmed/ISR I/O
Used when comparing total cycle execution time of an interrupt routine vs DMA hardware transfer for units of data.
Polling Overhead per Second
Used to compute total CPU time fraction spent checking device status and processing detected I/O events in a polling system.
Interrupt Service Overhead per Second
Used to compute total CPU time fraction consumed by servicing device interrupts and processing data.
Overhead Ratio
Used to compare the relative CPU time spent between polling and interrupt-driven implementations.
Shift from multi-step cycle-by-cycle speedup problems (2011) towards concise 1-mark numerical calculations on cycle-stealing transfer rate and statement-verification MCQs.
2024, 2021, 2011
Consistent recurrence of conceptual comparison items testing the precise distinction between Daisy chaining (hardware vector propagation) and software polling, as well as vectored vs non-vectored ISR startup latency.
2026, 2024, 2020
High prevalence of 1-mark Easy/Medium items directly testing standard textbook properties (bus master exclusivity, relative throughput, interrupt priority).
2026, 2024, 2022, 2020, 2018
Quantitative evaluation of I/O interface mechanisms has been introduced via NAT format, shifting focus from purely qualitative device interface definitions to numerical CPU time fraction calculations.
2023
Easy items (1 mark) test fundamental definitions: sequence of interrupt events, highest priority device identification, bus master exclusivity, or direct cycle-stealing rate calculations. Medium items (2 marks) involve multi-step arithmetic such as calculating required bus acquisitions using ceiling division on register capacities, or computing speedup ratios between assembly ISR loops and DMA hardware overheads.