The GATE Grind

GATE 2011 CS (CS1) – Question 16

Operating System · System Calls, Processes, Threads and IPC · 1 mark · Multiple choice

User-to-kernel mode switch time is t₁; switching between two processes takes t₂. Which is true?

  1. t₁>t₂
  2. t₁=t₂
  3. t₁<t₂
  4. No relation can be stated

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: (C) t₁<t₂

Explanation

A mode switch changes privilege while retaining the current process context. A process switch additionally saves/restores execution state and may change address-space context. Under the conventional comparison it costs more, so t₁<t₂, C.

More System Calls, Processes, Threads and IPC questions

All System Calls, Processes, Threads and IPC questions →