πŸ“Š Computer
Q. The interrupt service routine is serviced
  • (A) immediately on receopt of request
  • (B) after the executing the current instruction
  • (C) at the end of current machine cycle
  • (D) none of these
βœ… Correct Answer: (B) after the executing the current instruction

Explanation:

When an interrupt occurs, the Interrupt Service Routine (ISR) is typically executed after the current instruction or process is completed. The processor first finishes the execution of the instruction it is currently working on, then it halts the current process and transfers control to the ISR to handle the interrupt. This ensures that the CPU completes its current task before responding to the interrupt.

Explanation by: Mr. Dubey

When an interrupt occurs, the Interrupt Service Routine (ISR) is typically executed after the current instruction or process is completed. The processor first finishes the execution of the instruction it is currently working on, then it halts the current process and transfers control to the ISR to handle the interrupt. This ensures that the CPU completes its current task before responding to the interrupt.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
191
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Yashika
Publisher
πŸ“ˆ
96%
Success Rate