Computer Science Fundamentals

Concurrency & Parallelism

6 practice questions. Free questions open a full answer guide; the rest unlock with Pro.

  • What is the difference between concurrency and parallelism? Junior level
  • Tell me about false sharing — what it is, how you'd recognize it in a multithreaded hot path, and what you'd do about it.Go Pro Senior level
  • Your service intermittently double-processes an event under load, but the code looks correct in isolation. Walk me through how you'd reason about the concurrency bug and how you'd make the path safe.Go Pro Senior level
  • What is a race condition and how do you prevent one?Go Pro Junior level
  • When would you choose optimistic concurrency control over locking a row, and what's the cost when you guess wrong?Go Pro Mid level
  • What's the difference between a race condition and a deadlock, and how would you diagnose each in a running service?Go Pro Mid level
Want questions matched to your role? Paste a job title, job description, or CV for a personalized set, or go Pro to unlock the full bank.