← 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?
- A.Threads do not have registers
- B.Threads share the same memory map, so the address space does not have to change
- C.Threads never need to be scheduled
- 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 →