CS FundamentalsHardGATE CS (PYQ pattern)

Which of the following statements about system calls and interrupts are correct? I. A system call enters the kernel through a trap instruction and runs in kernel mode. II. A page fault is an asynchronous interrupt raised by the disk controller. III. A periodic timer interrupt lets the OS preempt a running process. IV. A process that runs as the root user may execute privileged CPU instructions directly in user mode.

  1. A. I, II and III only
  2. B. II and IV only
  3. C. I and III only
  4. D. III and IV only

Correct answer: C. I and III only

II is wrong: a page fault is a synchronous exception caused by the faulting instruction itself, not a device interrupt. IV is wrong: root is a software notion; the CPU mode bit still blocks privileged instructions in user mode.

More Operating Systems questions

Exams that ask this topic