What is the role of an Interrupt Service Routine (ISR) ?
2024
What is the role of an Interrupt Service Routine (ISR) ?
- A.
Handle I/O requests synchronously
- B.
Respond to external events asynchronously
- C.
Manage memory allocation
- D.
Perform data encryption
Attempted by 56 students.
Show answer & explanation
Correct answer: B
An Interrupt Service Routine (ISR) is a specialized function that handles hardware or software interrupts asynchronously. When an external event occurs, the processor pauses current tasks to execute the ISR immediately.