Interrupt: GATE CS Previous Year Questions

Interrupt · Computer Organization and Architecture

12 questions · asked in 11 of 27 years (2000–2026)

MCQ 11 · NAT 11-mark 12

2000Questions per year2026

Questions 1–5 of 12

Q1GATE 2026 (Session 2)1 markMCQ−0.33 if wrong
Consider the following two statements about interrupt handling mechanisms in a CPU.

S1\text{S1}: In non-vectored interrupt mechanism, it usually takes more time to start the Interrupt Service Routine (ISR) when compared to that in a vectored interrupt mechanism.

S2\text{S2}: In daisy-chain interrupt mechanism, the CPU polls all the input devices individually to determine the source of the interrupt.

Which one of the following options is correct with respect to S1\text{S1} and S2?\text{S2}?

Q2GATE 2025 (Session 1)1 markMCQ−0.33 if wrong
Suppose a program is running on a non-pipelined single processor computer system. The computer is connected to an external device that can interrupt the processor asynchronously. The processor needs to execute the interrupt service routine (ISR) to serve this interrupt. The following steps (not necessarily in order) are taken by the processor when the interrupt arrives:

(i) The processor saves the content of the program counter.
(ii) The program counter is loaded with the start address of the ISR.
(iii) The processor finishes the present instruction.

Which ONE of the following is the CORRECT sequence of steps?

Q3GATE 20231 markNAT
A keyboard connected to a computer is used at a rate of 1 keystroke per second. The computer system polls the keyboard every 10 ms (milli seconds) to check for a keystroke and consumes 100 μs\mu s (micro seconds) for each poll. If it is determined after polling that a key has been pressed, the system consumes an additional 200 μs\mu s to process the keystroke. Let T1T_1 denote the fraction of a second spent in polling and processing a keystroke.
In an alternative implementation, the system uses interrupts instead of polling. An interrupt is raised for every keystroke. It takes a total of 1 ms for servicing an interrupt and processing a keystroke. Let T2T_2 denote the fraction of a second spent in servicing the interrupt and processing a keystroke. The ratio T1T2\frac{T_1}{T_2} is ______ . (Rounded off to one decimal place)

Q4GATE 20201 markMCQ−0.33 if wrong
Consider the following statements.

I. Daisy chaining is used to assign priorities in attending interrupts.
II. When a device raises a vectored interrupt, the CPU does polling to identify the source of interrupt.
III. In polling,the CPU periodically checks the status bits to know if any device needs its attention.
IV. During DMA, both the CPU and DMA controller can be bus masters at the same time.

Which of the above statements is/are TRUE?

Q5GATE 20181 markMCQ−0.33 if wrong
The following are some events that occur after a device controller issues an interrupt while process L is under execution.
(P) The processor pushes the process status of L onto the control stack.
(Q) The processor finishes the execution of the current instruction.
(R) The processor executes the interrupt service routine.
(S) The processor pops the process status of L from the control stack.
(T) The processor loads the new PC value based on the interrupt.
Which one of the following is the correct order in which the events above occur?

Keep practising

Topics in Computer Organization and Architecture

All CS topics ›