15 real Coordination questions from the Concurrency bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.
1. What is Condition variable?
Mid
A.a synchronization point where each participating thread must arrive and wait until all others reach it before any may proceed
B.a pattern where one set of tasks generates items into a shared buffer while another set removes and processes them, decoupled by that buffer
C.a primitive that lets a thread sleep until notified that some predicate over shared state may have become true, releasing its lock while waiting
D.a one-shot gate that holds threads until a count reaches zero, after which it stays open permanently and cannot be reset
2. Which term means: "a primitive that lets a thread sleep until notified that some predicate over shared state may have become true, releasing its lock while waiting"?
A.Condition variable — a one-shot gate that holds threads until a count reaches zero, after which it stays open permanently and cannot be reset
B.Condition variable — a pattern where one set of tasks generates items into a shared buffer while another set removes and processes them, decoupled by that buffer
C.Condition variable — a primitive that lets a thread sleep until notified that some predicate over shared state may have become true, releasing its lock while waiting
D.Condition variable — a synchronization point where each participating thread must arrive and wait until all others reach it before any may proceed
A.Barrier — a synchronization point where each participating thread must arrive and wait until all others reach it before any may proceed
B.Barrier — an event where a waiting thread resumes without being signaled, which is why waits should re-check their predicate inside a loop
C.Barrier — a pattern where one set of tasks generates items into a shared buffer while another set removes and processes them, decoupled by that buffer
D.Barrier — a primitive that lets a thread sleep until notified that some predicate over shared state may have become true, releasing its lock while waiting
11. Which term means: "a pattern where one set of tasks generates items into a shared buffer while another set removes and processes them, decoupled by that buffer"?
A.Producer-consumer — an event where a waiting thread resumes without being signaled, which is why waits should re-check their predicate inside a loop
B.Producer-consumer — a pattern where one set of tasks generates items into a shared buffer while another set removes and processes them, decoupled by that buffer
C.Producer-consumer — a synchronization point where each participating thread must arrive and wait until all others reach it before any may proceed
D.Producer-consumer — a primitive that lets a thread sleep until notified that some predicate over shared state may have become true, releasing its lock while waiting
14. Which term means: "an event where a waiting thread resumes without being signaled, which is why waits should re-check their predicate inside a loop"?
A.Spurious wakeup — a synchronization point where each participating thread must arrive and wait until all others reach it before any may proceed
B.Spurious wakeup — an event where a waiting thread resumes without being signaled, which is why waits should re-check their predicate inside a loop
C.Spurious wakeup — a primitive that lets a thread sleep until notified that some predicate over shared state may have become true, releasing its lock while waiting
D.Spurious wakeup — a pattern where one set of tasks generates items into a shared buffer while another set removes and processes them, decoupled by that buffer
Answers, AI explanations, and a scored voice mock interview
Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.