Topic: Operating Systems
Any attempt by a process to access memory allocated to OS or process of other user results into
- A. Trap to OS
- B. Context Switching
- C. Page fault
- D. Invocation to Scheduler Despatch
Answer: A. Trap to OS
Explanation: When a process attempts an illegal memory access (such as reading memory belonging to the OS kernel or another process), the hardware memory protection unit generates an exception (specifically, a protection fault), which acts as a trap to the Operating System to terminate the offending process.