🎙 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 10 of 10

Why is switching between two threads of the same process cheaper than switching between two processes?

Why is switching between two threads of the same process cheaper than switching between two processes?

  1. A.Threads do not have registers
  2. B.Threads share the same memory map, so the address space does not have to change
  3. C.Threads never need to be scheduled
  4. D.Threads run only in kernel mode
Answer & explanation

Correct answer: Threads share the same memory map, so the address space does not have to change

Only registers and the stack pointer change; the page tables stay the same.

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 →