CS FundamentalsModerateGATE CS

Assertion (A): Context switching between threads of the same process is cheaper than between processes. Reason (R): Threads of the same process have separate page tables.

  1. A. Both A and R are true, and R is the correct explanation of A
  2. B. A is true but R is false
  3. C. A is false but R is true
  4. D. Both A and R are false

Correct answer: B. A is true but R is false

Threads share one address space, so no page-table switch or TLB flush is needed; that is why A holds. R states the opposite of the truth.

More Operating Systems questions

Exams that ask this topic