Looking to strengthen your understanding of Python multithreading and multiprocessing? This quiz brings you 25 carefully selected multiple-choice questions (MCQs) with answers and explanations.
Each question covers essential concurrency concepts, including the Global Interpreter Lock (GIL), thread synchronization, process pools, inter-process communication (IPC), and performance trade-offs.
Whether you’re preparing for Python interviews or coding assessments, By practicing these, you’ll strengthen your grasp of concurrency, synchronization, and parallelism — and be better prepared for coding interviews.
What’s Covered?
- Threads vs Processes: GIL; use threads for I/O, processes for CPU.
- Lifecycle:
start()/join(), daemon threads/processes,if __name__ == "__main__":. - Sync: Lock, RLock, Semaphore, Event, Condition, Barrier.
- Pools & Mapping: ThreadPool vs ProcessPool;
map()order vsas_completed();chunksize. - Sharing & IPC: Queue/Pipe, Manager proxies, SharedMemory/Array/Value.
- Pitfalls & Perf: Race conditions, deadlocks, signals (main thread), process/pickling overhead.
Quiz Structure and Instructions
- 25 random questions will be selected from a pool of 40+ multithreading MCQs.
- No time limit – solve at your own pace.
- Each question has 4 options; choose the correct one.
- 1 point for every correct answer.
- Score 15 or more to pass.
- Each answer includes an explanation for better understanding.

Leave a Reply