GATE CS 2023 · Question 22 · Operating System · Multiple select (MSQ) · 1 mark · no negative marks

Which one or more of the following need to be saved on a context switch from one thread (T1) of a process to another thread (T2) of the same process?

  1. (A) Page table base register
  2. (B) Stack pointer
  3. (C) Program counter
  4. (D) General purpose registers
Answer

Answer (B), (C), (D)

Answer from the official GATE CS 2023 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes