Question OS-BAS-0018
HardHow does a trap differ from a hardware interrupt?
- A.
A trap is caused by the running program (an error or a system call); an interrupt comes from a device
- B.
They are the same thing
- C.
A trap can only happen in kernel mode
- D.
A trap comes from a device; an interrupt comes from the program
Sign up free to see the answer and a step-by-step explanation.