Question - Why is interrupt vector used in operating systems?
Answer -
1. The operating system these days are interrupt driven and this requires the interrupt vector.
2. This interrupt vector contains the addresses of the interrupt service routines for various devices.
3. Here the interrupts can be indirectly called through the table with no intermediate routine needed.
4. This leads to interrupt handling at a faster rate.
5. Operating systems like MS DOS and UNIX are using the interrupt vector.