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 6–10 of 12
A computer handles several interrupt sources of which the following are relevant for this question.
Interrupt from CPU temperature sensor (raises interrupt if CPU temperature is too high)
Interrupt from Mouse (raises interrupt if the mouse is moved or a button is pressed)
Interrupt from Keyboard (raises interrupt if a key is pressed or released)
Interrupt from Hard Disk (raises interrupt when a disk read is completed)
Which one of these will be handled at the HIGHEST priority?
Interrupt from CPU temperature sensor (raises interrupt if CPU temperature is too high)
Interrupt from Mouse (raises interrupt if the mouse is moved or a button is pressed)
Interrupt from Keyboard (raises interrupt if a key is pressed or released)
Interrupt from Hard Disk (raises interrupt when a disk read is completed)
Which one of these will be handled at the HIGHEST priority?
Answer: (D)
If the CPU gets too hot, the hardware can be damaged. So this interrupt needs the quickest response. The disk, keyboard and mouse interrupts can wait for a short time.
Answer: Interrupt from CPU temp sensor
Answer: Interrupt from CPU temp sensor
A CPU generally handles an interrupt by executing an interrupt service routine
Answer: (C)
The CPU does not stop an instruction half way. It finishes the current instruction, and then checks the interrupt line (INTR). If an interrupt is pending, it runs the interrupt service routine. If not, it fetches the next instruction.
(A) is wrong because the current instruction must finish first. (B) is wrong because at the end of the fetch cycle the instruction has only been fetched, not executed. (D) is wrong because the check is made after every instruction, not at fixed time intervals.
Answer: (C)
(A) is wrong because the current instruction must finish first. (B) is wrong because at the end of the fetch cycle the instruction has only been fetched, not executed. (D) is wrong because the check is made after every instruction, not at fixed time intervals.
Answer: (C)
Which one of the following is true for a CPU having a single interrupt request line and a single interrupt grant line?
Answer: (C)
A single interrupt request line can be shared by all devices. Their requests are joined (wired-OR), and any device can pull the line active. So multiple interrupting devices are possible.
The CPU answers with an interrupt acknowledge (INTA) on the single grant line. The grant line is passed from device to device in a daisy chain, so the first device in the chain that has requested takes the grant. That device then puts its own vector (or ISR address) on the data bus. The CPU uses it to jump to the right ISR. So vectored interrupts are possible as well.
Options A, B and D each say that one of these two is impossible, so they are wrong.
Answer: (C)
The CPU answers with an interrupt acknowledge (INTA) on the single grant line. The grant line is passed from device to device in a daisy chain, so the first device in the chain that has requested takes the grant. That device then puts its own vector (or ISR address) on the data bus. The CPU uses it to jump to the right ISR. So vectored interrupts are possible as well.
Options A, B and D each say that one of these two is impossible, so they are wrong.
Answer: (C)
A device employing INTR line for device interrupt puts the CALL instruction on the data bus while
Answer: (A)
In the 8085, a device raises INTR (an input request line) and the CPU, if interrupts are enabled with EI, finishes the current instruction and sends the interrupt acknowledge signal (active low). The CPU does not fetch the next instruction from memory. During the cycle the interrupting device puts an instruction on the data bus (a CALL, or an RST opcode), and the CPU executes it. With CALL, two more cycles bring in the two address bytes.
HOLD is the request line that a DMA controller uses to ask for the buses, so it has nothing to do with interrupt vectoring. READY is used to insert wait states for slow memory or I/O devices. So option A is the right one.
Answer: (A)
HOLD is the request line that a DMA controller uses to ask for the buses, so it has nothing to do with interrupt vectoring. READY is used to insert wait states for slow memory or I/O devices. So option A is the right one.
Answer: (A)
A CPU has two modes-privileged and non-privileged. In order to change the mode from privileged to non-privileged
Answer: (D)
An interrupt or a trap takes the CPU from non-privileged mode into privileged mode, so a hardware interrupt (A) or a software interrupt (B) is the way to go up, not down.
Protection exists to stop user programs from gaining privilege. Giving up privilege is harmless, so it does not have to be guarded by a privileged instruction. In this model, a plain non-privileged instruction that does not raise an interrupt can lower the mode. So option C (a privileged instruction) is not needed, and option D is right.
Answer: (D)
Protection exists to stop user programs from gaining privilege. Giving up privilege is harmless, so it does not have to be guarded by a privileged instruction. In this model, a plain non-privileged instruction that does not raise an interrupt can lower the mode. So option C (a privileged instruction) is not needed, and option D is right.
Answer: (D)
Keep practising