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

Quiz: Threads and Context Switching · Question 10 of 10

Why does Chrome run each website in a separate process rather than a separate thread?

Why does Chrome run each website in a separate process rather than a separate thread?

  1. A.Processes are cheaper to create than threads
  2. B.Threads cannot draw on the screen
  3. C.Processes are isolated, so a crash or attack in one site cannot directly touch another's memory
  4. D.Websites need many-to-one threading
Answer & explanation

Correct answer: Processes are isolated, so a crash or attack in one site cannot directly touch another's memory

Isolation is worth the extra memory and switch cost for security and stability.

Can you get the rest right without peeking?

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

Start the quiz →