🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Processes and Threads: all 10 questions

Quiz: Processes and Threads · Question 5 of 10

What happens during a context switch?

What happens during a context switch?

  1. A.The computer restarts
  2. B.The CPU state of one process is saved and another's is loaded
  3. C.A process is deleted
  4. D.Memory is cleared
Answer & explanation

Correct answer: The CPU state of one process is saved and another's is loaded

Saving and restoring PCBs lets processes take turns on the CPU.

Can you get the rest right without peeking?

Take the timed Quiz: Processes and Threads quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →