What is the role of an Interrupt Service Routine (ISR) ?
2024
What is the role of an Interrupt Service Routine (ISR) ?
Answer: B. Respond to external events asynchronously — An Interrupt Service Routine (ISR) is a specialized function that handles hardware or software interrupts asynchronously. When an external event occurs, the…
- A.
Handle I/O requests synchronously
- B.
Respond to external events asynchronously
- C.
Manage memory allocation
- D.
Perform data encryption
Attempted by 285 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.
Loading lesson…