Process · Operating System
11 questions · asked in 9 of 27 years (2000–2026)
MCQ 8 · MSQ 2 · NAT 11-mark 10 · 2-mark 1
2000Questions per year2026
Questions 11–11 of 11
Which of the following need not necessarily be saved on a context switch between processes?
Answer: (B)
To resume a process correctly, the OS must save its program counter, general purpose registers and stack pointer, because the process cannot continue without them. The TLB is only a cache of address translations that makes memory access faster. It is not needed for correctness, so it need not be saved (it is flushed, or tagged by process, so that the next process does not use the old translations). So only (B) is the item that need not be saved, and (D) is wrong.
Answer: (B)
Answer: (B)
Keep practising