Topic: Operating Systems
Which of the following is false about interrupts?
- A. Interrupts can be triggered by a hardware or by a software
- B. Hardware interrupts may be triggered by sending a signal to CPU through a system bus
- C. Software interrupts may be triggered by executing system calls
- D. Trap is a hardware generated interrupt
Answer: D. Trap is a hardware generated interrupt
Explanation: A trap (or exception) is a software-generated interrupt. It is typically caused either by an error in the program (like division by zero) or a specific software request to the OS via a system call, not by external hardware.