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 11–12 of 12
A processor needs software interrupt to
Answer: (C)
A software interrupt (trap or system call) is an instruction that causes an interrupt. It switches the processor from user mode to kernel mode and enters the operating system. User programs cannot run privileged instructions (for example, I/O) directly, so they use a software interrupt to ask the OS to do it. So the processor needs it to get system services that need privileged instructions.
(A) A software interrupt can be used to test, but that is not why a processor needs it. (B) Co-routines switch control between routines in user mode with normal jumps, so no mode change is needed. (D) A return from a subroutine uses the return instruction, which pops the return address, so no interrupt is needed.
Answer: (C)
(A) A software interrupt can be used to test, but that is not why a processor needs it. (B) Co-routines switch control between routines in user mode with normal jumps, so no mode change is needed. (D) A return from a subroutine uses the return instruction, which pops the return address, so no interrupt is needed.
Answer: (C)
The 8085 microprocessor responds to the presence of an interrupt
Answer: (C)
The 8085 never breaks off an instruction in the middle. Towards the end of every instruction (in its next-to-last clock state), it samples its interrupt inputs, including TRAP. If TRAP is high then, the processor finishes the instruction and then starts the interrupt service.
Option A is wrong, because the processor does not react as soon as the pin goes high; it first completes the instruction in progress.
Option D is wrong, because the pin is not checked at regular time intervals (as a timer would do); it is checked once per instruction, so the delay depends on how long the instruction is.
Option B is wrong, because the check is not made when the instruction fetch ends; it is made while the instruction finishes executing. Option C states this correctly.
Answer: (C)
Option A is wrong, because the processor does not react as soon as the pin goes high; it first completes the instruction in progress.
Option D is wrong, because the pin is not checked at regular time intervals (as a timer would do); it is checked once per instruction, so the delay depends on how long the instruction is.
Option B is wrong, because the check is not made when the instruction fetch ends; it is made while the instruction finishes executing. Option C states this correctly.
Answer: (C)
Keep practising