Skip to content

ISRO Scientist/Engineer CSE 2023Operating Systems › Memory Management and Virtual Memory

ISRO Scientist/Engineer CSE 2023 PYQ: Any attempt by a process to access memory allocated to OS or process of other user results into

Any attempt by a process to access memory allocated to OS or process of other user results into

  1. A
    Trap to OS
    Correct answer
  2. B
    Context Switching
  3. C
    Page fault
  4. D
    Invocation to Scheduler Despatch

Answer

(A) Trap to OS

Approach

Recall how memory protection is enforced in an operating system. When a process generates a logical address, the hardware (MMU) checks it against the process's allocated memory bounds. If the address lies outside the allowed range, the hardware raises a trap (an exception/interrupt) that transfers control to the operating system, which then handles the violation.

Reviewed by ISRO IQ Editorial Team.