Which of the following devices should get higher priority in assigning interrupts?
View worked solution
Answer: A
Interrupt priority is typically assigned based on the data transfer rate and the speed of the device. Devices that transfer data at higher speeds must be serviced quickly to prevent data loss (such as buffer overrun).
Let's compare the speed and data transfer rates of the given devices:
- Hard disk: Has the highest data transfer rate and operating speed among the options. Delaying its service can lead to significant performance bottlenecks or data loss.
- Floppy disk: Much slower than a hard disk.
- Printer: A slow mechanical output device.
- Keyboard: An extremely slow input device operating at human speeds.
Therefore, the Hard disk must be assigned the highest priority.
Free practice · Your answers on this page are not saved.
